#1F2274#1F2274
#1F2274 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.137 H 273.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2274 |
|---|---|
| RGB | rgb(31, 34, 116) |
| HSL | hsl(238, 58%, 29%) |
| HSV | hsv(238, 73%, 45%) |
| CMYK | cmyk(73.3%, 70.7%, 0%, 54.5%) |
| CIE-LAB | lab(18.78, 28.08, -47.33) |
| CIE-LCH | lch(18.78, 55.03, 300.68°) |
| OKLab | oklab(31.14% 0.0084 -0.1368) |
| OKLCH | oklch(31.14% 0.137 273.5) |
| XYZ | xyz(4.2884, 2.6959, 16.8140) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Royal
#0C1793
ΔE00 5.81
Dark Royal Blue
#02066F
ΔE00 6.53
Darkblue (survey)
#030764
ΔE00 6.67
Deep Blue
#040273
ΔE00 7.16
Navy
#000080
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2274 #74711F
analogous
#1F4D74 #1F2274 #471F74
triadic
#1F2274 #741F22 #22741F
tetradic
#1F2274 #741F4D #74711F #1F7447
square
#1F2274 #741F4D #74711F #1F7447
split-complementary
#1F2274 #74471F #4D741F
monochromatic
#060718 #121444 #1F2274 #2C30A4 #4146CC
Accessibility & contrast
On white
13.64
#1F2274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1F2274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2274
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2274 | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f2274; /* rgb */ color: rgb(31, 34, 116); /* oklch */ color: oklch(31.1% 0.137 273.5);
Tailwind
colors: {
custom: {
50: '#685d9d',
500: '#1f2274',
950: '#000000',
},
}SCSS
$custom: #1f2274; $custom-light: #685d9d; $custom-dark: #000000;
JSON
{
"hex": "#1f2274",
"rgb": {
"r": 31,
"g": 34,
"b": 116
},
"hsl": {
"h": 237.882,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.31144,
"c": 0.13704,
"h": 273.5
},
"luminance": 0.02696
}Semantic roles & 50–950 ramp
primary
#1F2274
secondary
#A8A447
accent
#DC47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E