#1F225F#1F225F
#1F225F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.107 H 275.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F225F |
|---|---|
| RGB | rgb(31, 34, 95) |
| HSL | hsl(237, 51%, 25%) |
| HSV | hsv(237, 67%, 37%) |
| CMYK | cmyk(67.4%, 64.2%, 0%, 62.7%) |
| CIE-LAB | lab(16.80, 20.09, -36.85) |
| CIE-LCH | lch(16.80, 41.97, 298.60°) |
| OKLab | oklab(29.09% 0.0101 -0.106) |
| OKLCH | oklch(29.09% 0.107 275.4) |
| XYZ | xyz(3.2020, 2.2613, 11.0920) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Navy Blue (survey)
#001146
ΔE00 5.96
Navy (survey)
#01153E
ΔE00 6.96
Navy Blue
#1B2A4A
ΔE00 7.08
Dark Indigo
#1F0954
ΔE00 7.11
Marine
#042E60
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F225F #5F5C1F
analogous
#1F425F #1F225F #3C1F5F
triadic
#1F225F #5F1F22 #225F1F
tetradic
#1F225F #5F1F42 #5F5C1F #1F5F3C
square
#1F225F #5F1F42 #5F5C1F #1F5F3C
split-complementary
#1F225F #5F3C1F #425F1F
monochromatic
#080817 #101131 #1F225F #2E338D #3D43BB
Accessibility & contrast
On white
14.46
#1F225F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1F225F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F225F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F225F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F225F | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f225f; /* rgb */ color: rgb(31, 34, 95); /* oklch */ color: oklch(29.1% 0.107 275.4);
Tailwind
colors: {
custom: {
50: '#635d8d',
500: '#1f225f',
950: '#000000',
},
}SCSS
$custom: #1f225f; $custom-light: #635d8d; $custom-dark: #000000;
JSON
{
"hex": "#1f225f",
"rgb": {
"r": 31,
"g": 34,
"b": 95
},
"hsl": {
"h": 237.188,
"s": 50.794,
"l": 24.706
},
"oklch": {
"l": 0.29085,
"c": 0.10653,
"h": 275.4
},
"luminance": 0.02262
}Semantic roles & 50–950 ramp
primary
#1F225F
secondary
#949046
accent
#D44EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D