#1F2C96#1F2C96
#1F2C96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.171 H 269.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C96 |
|---|---|
| RGB | rgb(31, 44, 150) |
| HSL | hsl(233, 66%, 35%) |
| HSV | hsv(233, 79%, 59%) |
| CMYK | cmyk(79.3%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(24.62, 34.19, -59.10) |
| CIE-LCH | lch(24.62, 68.28, 300.05°) |
| OKLab | oklab(36.41% -0.0013 -0.1711) |
| OKLCH | oklch(36.41% 0.171 269.6) |
| XYZ | xyz(6.9689, 4.2939, 29.3098) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.24
Royal
#0C1793
ΔE00 5.07
Indigo Blue
#3A18B1
ΔE00 6.73
Cobalt Blue
#030AA7
ΔE00 6.96
Midnight Blue
#191970
ΔE00 7.07
Blueberry
#464196
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C96 #96891F
analogous
#1F6896 #1F2C96 #4D1F96
triadic
#1F2C96 #961F2C #2C961F
tetradic
#1F2C96 #961F68 #96891F #1F964D
square
#1F2C96 #961F68 #96891F #1F964D
split-complementary
#1F2C96 #964D1F #68961F
monochromatic
#0A0E31 #151D63 #1F2C96 #293BC9 #5463DC
Accessibility & contrast
On white
11.30
#1F2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F2C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C96
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C96 | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2c96; /* rgb */ color: rgb(31, 44, 150); /* oklch */ color: oklch(36.4% 0.171 269.6);
Tailwind
colors: {
custom: {
50: '#7065b6',
500: '#1f2c96',
950: '#000000',
},
}SCSS
$custom: #1f2c96; $custom-light: #7065b6; $custom-dark: #000000;
JSON
{
"hex": "#1f2c96",
"rgb": {
"r": 31,
"g": 44,
"b": 150
},
"hsl": {
"h": 233.445,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.36409,
"c": 0.17115,
"h": 269.6
},
"luminance": 0.04295
}Semantic roles & 50–950 ramp
primary
#1F2C96
secondary
#BFB352
accent
#D63FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80