#1F347A#1F347A
#1F347A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.3% C 0.122 H 267.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F347A |
|---|---|
| RGB | rgb(31, 52, 122) |
| HSL | hsl(226, 59%, 30%) |
| HSV | hsv(226, 75%, 48%) |
| CMYK | cmyk(74.6%, 57.4%, 0%, 52.2%) |
| CIE-LAB | lab(24.17, 17.94, -42.37) |
| CIE-LCH | lch(24.17, 46.01, 292.95°) |
| OKLab | oklab(35.29% -0.006 -0.122) |
| OKLCH | oklch(35.29% 0.122 267.2) |
| XYZ | xyz(5.3047, 4.1519, 18.9304) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.15
Marine Blue
#01386A
ΔE00 5.70
Darkish Blue
#014182
ΔE00 6.23
Cobalt (survey)
#1E488F
ΔE00 7.08
Twilight Blue
#0A437A
ΔE00 7.10
Darkslateblue
#483D8B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F347A #7A651F
analogous
#1F617A #1F347A #381F7A
triadic
#1F347A #7A1F34 #347A1F
tetradic
#1F347A #7A1F61 #7A651F #1F7A38
square
#1F347A #7A1F61 #7A651F #1F7A38
split-complementary
#1F347A #7A381F #617A1F
monochromatic
#060A18 #131F49 #1F347A #2B49AB #4464CF
Accessibility & contrast
On white
11.47
#1F347A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F347A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F347A
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F347A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F347A | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f347a; /* rgb */ color: rgb(31, 52, 122); /* oklch */ color: oklch(35.3% 0.122 267.2);
Tailwind
colors: {
custom: {
50: '#686ba1',
500: '#1f347a',
950: '#000000',
},
}SCSS
$custom: #1f347a; $custom-light: #686ba1; $custom-dark: #000000;
JSON
{
"hex": "#1f347a",
"rgb": {
"r": 31,
"g": 52,
"b": 122
},
"hsl": {
"h": 226.154,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.35292,
"c": 0.12219,
"h": 267.2
},
"luminance": 0.04152
}Semantic roles & 50–950 ramp
primary
#1F347A
secondary
#AD9647
accent
#BE45E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F