#1F347F#1F347F
#1F347F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.130 H 267.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1F347F |
|---|---|
| RGB | rgb(31, 52, 127) |
| HSL | hsl(227, 61%, 31%) |
| HSV | hsv(227, 76%, 50%) |
| CMYK | cmyk(75.6%, 59.1%, 0%, 50.2%) |
| CIE-LAB | lab(24.57, 19.94, -44.87) |
| CIE-LCH | lch(24.57, 49.10, 293.96°) |
| OKLab | oklab(35.72% -0.0057 -0.1294) |
| OKLCH | oklch(35.72% 0.13 267.5) |
| XYZ | xyz(5.6225, 4.2790, 20.6042) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.84
Marine Blue
#01386A
ΔE00 6.19
Darkish Blue
#014182
ΔE00 6.36
Sapphire (survey)
#2138AB
ΔE00 6.63
Darkslateblue
#483D8B
ΔE00 6.92
Cobalt (survey)
#1E488F
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F347F #7F6A1F
analogous
#1F647F #1F347F #3A1F7F
triadic
#1F347F #7F1F34 #347F1F
tetradic
#1F347F #7F1F64 #7F6A1F #1F7F3A
square
#1F347F #7F1F64 #7F6A1F #1F7F3A
split-complementary
#1F347F #7F3A1F #647F1F
monochromatic
#070C1D #13204E #1F347F #2B48B0 #4665D2
Accessibility & contrast
On white
11.31
#1F347F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F347F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F347F
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F347F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F347F | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f347f; /* rgb */ color: rgb(31, 52, 127); /* oklch */ color: oklch(35.7% 0.130 267.5);
Tailwind
colors: {
custom: {
50: '#696ba5',
500: '#1f347f',
950: '#000000',
},
}SCSS
$custom: #1f347f; $custom-light: #696ba5; $custom-dark: #000000;
JSON
{
"hex": "#1f347f",
"rgb": {
"r": 31,
"g": 52,
"b": 127
},
"hsl": {
"h": 226.875,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.35724,
"c": 0.12952,
"h": 267.5
},
"luminance": 0.0428
}Semantic roles & 50–950 ramp
primary
#1F347F
secondary
#B29B48
accent
#C144E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F