#1F2CA1#1F2CA1
#1F2CA1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.185 H 269.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2CA1 |
|---|---|
| RGB | rgb(31, 44, 161) |
| HSL | hsl(234, 68%, 38%) |
| HSV | hsv(234, 81%, 63%) |
| CMYK | cmyk(80.7%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(25.76, 38.18, -63.95) |
| CIE-LCH | lch(25.76, 74.48, 300.84°) |
| OKLab | oklab(37.57% -0.0026 -0.1853) |
| OKLCH | oklch(37.57% 0.185 269.2) |
| XYZ | xyz(7.8966, 4.6650, 34.1956) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Royal
#0C1793
ΔE00 5.22
Indigo Blue
#3A18B1
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 6.38
Royal Blue (survey)
#0504AA
ΔE00 6.90
True Blue
#010FCC
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2CA1 #A1941F
analogous
#1F6DA1 #1F2CA1 #531FA1
triadic
#1F2CA1 #A11F2C #2CA11F
tetradic
#1F2CA1 #A11F6D #A1941F #1FA153
square
#1F2CA1 #A11F6D #A1941F #1FA153
split-complementary
#1F2CA1 #A1531F #6DA11F
monochromatic
#0B103A #151E6E #1F2CA1 #293AD4 #5B68DF
Accessibility & contrast
On white
10.86
#1F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1F2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2CA1
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2CA1 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2ca1; /* rgb */ color: rgb(31, 44, 161); /* oklch */ color: oklch(37.6% 0.185 269.2);
Tailwind
colors: {
custom: {
50: '#7366be',
500: '#1f2ca1',
950: '#000000',
},
}SCSS
$custom: #1f2ca1; $custom-light: #7366be; $custom-dark: #000000;
JSON
{
"hex": "#1f2ca1",
"rgb": {
"r": 31,
"g": 44,
"b": 161
},
"hsl": {
"h": 234,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.3757,
"c": 0.18528,
"h": 269.2
},
"luminance": 0.04666
}Semantic roles & 50–950 ramp
primary
#1F2CA1
secondary
#C4B958
accent
#D93DEB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81