Luminance
0.070
Category
Blue
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#1E40AF1E40AFRGB
rgb(30, 64, 175)R:30 G:64 B:175HSL
hsl(226, 71%, 40%)H:226° S:71% L:40%HSV / HSB
hsv(226, 83%, 69%)H:226° S:83% V:69%CMYK
cmyk(83%, 63%, 0%, 31%)C:83 M:63 Y:0 K:31LAB
lab(32, 30, -62)L:32 a:30 b:-62OKLCH
oklch(42.4% 0.181 265.6)L:42.4% C:0.181 H:265.6°Code Formats
color: #1E40AF;UIColor(red: 0.118, green: 0.251, blue: 0.686, alpha: 1.0)Color(0xFF1E40AF)Color(0xFF1E40AF)#FF1E40AFContrast Analysis
WCAG compliance with grayscale colors
On White
8.72:1
On Black
2.41:1
Grayscale Contrast
0%
2.4
Fail10%
2.0
Fail20%
1.4
Fail30%
1.0
Fail40%
1.5
Fail50%
2.2
Fail60%
3.1
AA-large70%
4.2
AA-large80%
5.4
AA90%
6.9
AA100%
8.7
AAABest Grayscale Contrast
#FFFFFF with ratio 8.72:1
Color Harmonies
Harmonious color combinations
complementary
Two colors opposite on the color wheel (180°)
split-complementary
Base color + two colors adjacent to its complement
triadic
Three colors evenly spaced (120° apart)
tetradic
Four colors evenly spaced (90° apart)
analogous
Three colors adjacent on the color wheel (30° apart)
Color Variations
Tints, shades, tones, and full scale
Color Scale (50-900)
50
100
200
300
400
500
600
700
800
900
Tints (Lighter)
Shades (Darker)
Tones (Desaturated)
Gradients (OKLCH)
Primary
90°linear-gradient(90deg, #5172E1 0%, #12286D 100%)linear-gradient(90deg, oklch(58.5% 0.173 268.2) 0%, oklch(30.9% 0.123 265.8) 100%)Vibrant
135°linear-gradient(135deg, #1245ED 0%, #0432C8 100%)linear-gradient(135deg, oklch(49.1% 0.254 264.5) 0%, oklch(42.1% 0.231 264.1) 100%)Complementary
90°linear-gradient(90deg, #1E40AF 0%, #AE8D1E 100%)linear-gradient(90deg, oklch(42.4% 0.181 265.6) 0%, oklch(65.6% 0.126 90.7) 100%)Analogous
90°linear-gradient(90deg, #1E88AE 0%, #1E40AF 50%, #441EAE 100%)linear-gradient(90deg, oklch(58.7% 0.107 228.1) 0%, oklch(42.4% 0.181 265.6) 50%, oklch(39.8% 0.205 284.1) 100%)Sunset
90°linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)Ocean
135°linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)Dark Mode
180°linear-gradient(180deg, #1E3FAE 0%, #12182B 100%)linear-gradient(180deg, oklch(42.2% 0.181 265.8) 0%, oklch(21.4% 0.039 269.6) 100%)Radial Glow
Radialradial-gradient(circle, #3B61DE 0%, #163083 100%)radial-gradient(circle, oklch(53.9% 0.196 266.8) 0%, oklch(34.9% 0.143 265.7) 100%)💡 About OKLCH Gradients
OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).
Generate Full Palette
Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.