#1F2276#1F2276
#1F2276 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.140 H 273.4°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2276 |
|---|---|
| RGB | rgb(31, 34, 118) |
| HSL | hsl(238, 58%, 29%) |
| HSV | hsv(238, 74%, 46%) |
| CMYK | cmyk(73.7%, 71.2%, 0%, 53.7%) |
| CIE-LAB | lab(18.98, 28.82, -48.29) |
| CIE-LCH | lch(18.98, 56.23, 300.83°) |
| OKLab | oklab(31.35% 0.0082 -0.1396) |
| OKLCH | oklch(31.35% 0.14 273.4) |
| XYZ | xyz(4.4060, 2.7429, 17.4333) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Royal
#0C1793
ΔE00 5.50
Dark Royal Blue
#02066F
ΔE00 6.47
Darkblue (survey)
#030764
ΔE00 6.70
Deep Blue
#040273
ΔE00 7.06
Navy
#000080
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2276 #76731F
analogous
#1F4E76 #1F2276 #481F76
triadic
#1F2276 #761F22 #22761F
tetradic
#1F2276 #761F4E #76731F #1F7648
square
#1F2276 #761F4E #76731F #1F7648
split-complementary
#1F2276 #76481F #4E761F
monochromatic
#060718 #121446 #1F2276 #2C30A6 #4247CD
Accessibility & contrast
On white
13.56
#1F2276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1F2276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2276
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2276 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f2276; /* rgb */ color: rgb(31, 34, 118); /* oklch */ color: oklch(31.4% 0.140 273.4);
Tailwind
colors: {
custom: {
50: '#695d9e',
500: '#1f2276',
950: '#000000',
},
}SCSS
$custom: #1f2276; $custom-light: #695d9e; $custom-dark: #000000;
JSON
{
"hex": "#1f2276",
"rgb": {
"r": 31,
"g": 34,
"b": 118
},
"hsl": {
"h": 237.931,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.31351,
"c": 0.13981,
"h": 273.4
},
"luminance": 0.02743
}Semantic roles & 50–950 ramp
primary
#1F2276
secondary
#AAA647
accent
#DC46E2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E