#1F2CA0#1F2CA0
#1F2CA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.184 H 269.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2CA0 |
|---|---|
| RGB | rgb(31, 44, 160) |
| HSL | hsl(234, 68%, 37%) |
| HSV | hsv(234, 81%, 63%) |
| CMYK | cmyk(80.6%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(25.65, 37.82, -63.51) |
| CIE-LCH | lch(25.65, 73.92, 300.77°) |
| OKLab | oklab(37.46% -0.0025 -0.184) |
| OKLCH | oklch(37.46% 0.184 269.2) |
| XYZ | xyz(7.8087, 4.6298, 33.7330) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.55
Royal
#0C1793
ΔE00 5.18
Indigo Blue
#3A18B1
ΔE00 5.71
Cobalt Blue
#030AA7
ΔE00 6.42
Royal Blue (survey)
#0504AA
ΔE00 6.94
True Blue
#010FCC
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2CA0 #A0931F
analogous
#1F6DA0 #1F2CA0 #521FA0
triadic
#1F2CA0 #A01F2C #2CA01F
tetradic
#1F2CA0 #A01F6D #A0931F #1FA052
square
#1F2CA0 #A01F6D #A0931F #1FA052
split-complementary
#1F2CA0 #A0521F #6DA01F
monochromatic
#0B1039 #151E6D #1F2CA0 #293AD3 #5A68DF
Accessibility & contrast
On white
10.90
#1F2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1F2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2CA0
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2CA0 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2ca0; /* rgb */ color: rgb(31, 44, 160); /* oklch */ color: oklch(37.5% 0.184 269.2);
Tailwind
colors: {
custom: {
50: '#7366bd',
500: '#1f2ca0',
950: '#000000',
},
}SCSS
$custom: #1f2ca0; $custom-light: #7366bd; $custom-dark: #000000;
JSON
{
"hex": "#1f2ca0",
"rgb": {
"r": 31,
"g": 44,
"b": 160
},
"hsl": {
"h": 233.953,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.37464,
"c": 0.18401,
"h": 269.2
},
"luminance": 0.04631
}Semantic roles & 50–950 ramp
primary
#1F2CA0
secondary
#C3B858
accent
#D93DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81