#1F2C95#1F2C95
#1F2C95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.170 H 269.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C95 |
|---|---|
| RGB | rgb(31, 44, 149) |
| HSL | hsl(233, 66%, 35%) |
| HSV | hsv(233, 79%, 58%) |
| CMYK | cmyk(79.2%, 70.5%, 0%, 41.6%) |
| CIE-LAB | lab(24.52, 33.82, -58.65) |
| CIE-LCH | lch(24.52, 67.70, 299.97°) |
| OKLab | oklab(36.31% -0.0012 -0.1698) |
| OKLCH | oklch(36.31% 0.17 269.6) |
| XYZ | xyz(6.8887, 4.2618, 28.8875) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Royal
#0C1793
ΔE00 5.08
Indigo Blue
#3A18B1
ΔE00 6.84
Midnight Blue
#191970
ΔE00 6.96
Cobalt Blue
#030AA7
ΔE00 7.03
Blueberry
#464196
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C95 #95881F
analogous
#1F6795 #1F2C95 #4D1F95
triadic
#1F2C95 #951F2C #2C951F
tetradic
#1F2C95 #951F67 #95881F #1F954D
square
#1F2C95 #951F67 #95881F #1F954D
split-complementary
#1F2C95 #954D1F #67951F
monochromatic
#0A0E30 #141D62 #1F2C95 #2A3BC8 #5362DB
Accessibility & contrast
On white
11.34
#1F2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1F2C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C95
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C95 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2c95; /* rgb */ color: rgb(31, 44, 149); /* oklch */ color: oklch(36.3% 0.170 269.6);
Tailwind
colors: {
custom: {
50: '#7065b5',
500: '#1f2c95',
950: '#000000',
},
}SCSS
$custom: #1f2c95; $custom-light: #7065b5; $custom-dark: #000000;
JSON
{
"hex": "#1f2c95",
"rgb": {
"r": 31,
"g": 44,
"b": 149
},
"hsl": {
"h": 233.39,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36305,
"c": 0.16983,
"h": 269.6
},
"luminance": 0.04263
}Semantic roles & 50–950 ramp
primary
#1F2C95
secondary
#BFB351
accent
#D63FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80