#1F2CA6#1F2CA6
#1F2CA6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.192 H 269.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2CA6 |
|---|---|
| RGB | rgb(31, 44, 166) |
| HSL | hsl(234, 69%, 39%) |
| HSV | hsv(234, 81%, 65%) |
| CMYK | cmyk(81.3%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(26.29, 39.96, -66.10) |
| CIE-LCH | lch(26.29, 77.25, 301.15°) |
| OKLab | oklab(38.11% -0.0032 -0.1915) |
| OKLCH | oklch(38.11% 0.192 269) |
| XYZ | xyz(8.3463, 4.8449, 36.5643) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.36
Indigo Blue
#3A18B1
ΔE00 5.24
Royal
#0C1793
ΔE00 5.47
Cobalt Blue
#030AA7
ΔE00 6.28
True Blue
#010FCC
ΔE00 6.40
Royal Blue (survey)
#0504AA
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2CA6 #A6991F
analogous
#1F6FA6 #1F2CA6 #551FA6
triadic
#1F2CA6 #A61F2C #2CA61F
tetradic
#1F2CA6 #A61F6F #A6991F #1FA655
square
#1F2CA6 #A61F6F #A6991F #1FA655
split-complementary
#1F2CA6 #A6551F #6FA61F
monochromatic
#0C113F #151E72 #1F2CA6 #2B3BD7 #5E6BE1
Accessibility & contrast
On white
10.66
#1F2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1F2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2CA6
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2CA6 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2ca6; /* rgb */ color: rgb(31, 44, 166); /* oklch */ color: oklch(38.1% 0.192 269.0);
Tailwind
colors: {
custom: {
50: '#7466c2',
500: '#1f2ca6',
950: '#000000',
},
}SCSS
$custom: #1f2ca6; $custom-light: #7466c2; $custom-dark: #000000;
JSON
{
"hex": "#1f2ca6",
"rgb": {
"r": 31,
"g": 44,
"b": 166
},
"hsl": {
"h": 234.222,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.38108,
"c": 0.19156,
"h": 269
},
"luminance": 0.04846
}Semantic roles & 50–950 ramp
primary
#1F2CA6
secondary
#C5BB5B
accent
#DB3CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82