#1F347C#1F347C
#1F347C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.125 H 267.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F347C |
|---|---|
| RGB | rgb(31, 52, 124) |
| HSL | hsl(226, 60%, 30%) |
| HSV | hsv(226, 75%, 49%) |
| CMYK | cmyk(75%, 58.1%, 0%, 51.4%) |
| CIE-LAB | lab(24.33, 18.74, -43.38) |
| CIE-LCH | lch(24.33, 47.25, 293.37°) |
| OKLab | oklab(35.46% -0.0059 -0.125) |
| OKLCH | oklch(35.46% 0.125 267.3) |
| XYZ | xyz(5.4299, 4.2020, 19.5898) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.42
Marine Blue
#01386A
ΔE00 5.89
Darkish Blue
#014182
ΔE00 6.27
Cobalt (survey)
#1E488F
ΔE00 7.03
Darkslateblue
#483D8B
ΔE00 7.12
Sapphire (survey)
#2138AB
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F347C #7C671F
analogous
#1F627C #1F347C #391F7C
triadic
#1F347C #7C1F34 #347C1F
tetradic
#1F347C #7C1F62 #7C671F #1F7C39
square
#1F347C #7C1F62 #7C671F #1F7C39
split-complementary
#1F347C #7C391F #627C1F
monochromatic
#070B1A #131F4B #1F347C #2B49AD #4564D0
Accessibility & contrast
On white
11.41
#1F347C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F347C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F347C
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F347C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F347C | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f347c; /* rgb */ color: rgb(31, 52, 124); /* oklch */ color: oklch(35.5% 0.125 267.3);
Tailwind
colors: {
custom: {
50: '#696ba2',
500: '#1f347c',
950: '#000000',
},
}SCSS
$custom: #1f347c; $custom-light: #696ba2; $custom-dark: #000000;
JSON
{
"hex": "#1f347c",
"rgb": {
"r": 31,
"g": 52,
"b": 124
},
"hsl": {
"h": 226.452,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.35463,
"c": 0.12514,
"h": 267.3
},
"luminance": 0.04203
}Semantic roles & 50–950 ramp
primary
#1F347C
secondary
#AF9848
accent
#BF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F