#1F2C9F#1F2C9F
#1F2C9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.183 H 269.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C9F |
|---|---|
| RGB | rgb(31, 44, 159) |
| HSL | hsl(234, 67%, 37%) |
| HSV | hsv(234, 81%, 62%) |
| CMYK | cmyk(80.5%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(25.55, 37.46, -63.08) |
| CIE-LCH | lch(25.55, 73.37, 300.71°) |
| OKLab | oklab(37.36% -0.0024 -0.1827) |
| OKLCH | oklch(37.36% 0.183 269.3) |
| XYZ | xyz(7.7216, 4.5950, 33.2741) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Royal
#0C1793
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 6.45
Royal Blue (survey)
#0504AA
ΔE00 6.99
True Blue
#010FCC
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C9F #9F921F
analogous
#1F6C9F #1F2C9F #521F9F
triadic
#1F2C9F #9F1F2C #2C9F1F
tetradic
#1F2C9F #9F1F6C #9F921F #1F9F52
square
#1F2C9F #9F1F6C #9F921F #1F9F52
split-complementary
#1F2C9F #9F521F #6C9F1F
monochromatic
#0B1039 #151E6C #1F2C9F #293AD2 #5A67DF
Accessibility & contrast
On white
10.94
#1F2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1F2C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C9F
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C9F | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f2c9f; /* rgb */ color: rgb(31, 44, 159); /* oklch */ color: oklch(37.4% 0.183 269.3);
Tailwind
colors: {
custom: {
50: '#7366bd',
500: '#1f2c9f',
950: '#000000',
},
}SCSS
$custom: #1f2c9f; $custom-light: #7366bd; $custom-dark: #000000;
JSON
{
"hex": "#1f2c9f",
"rgb": {
"r": 31,
"g": 44,
"b": 159
},
"hsl": {
"h": 233.906,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.37357,
"c": 0.18275,
"h": 269.3
},
"luminance": 0.04596
}Semantic roles & 50–950 ramp
primary
#1F2C9F
secondary
#C3B857
accent
#D93EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81