#1F348D#1F348D
#1F348D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.149 H 267.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F348D |
|---|---|
| RGB | rgb(31, 52, 141) |
| HSL | hsl(229, 64%, 34%) |
| HSV | hsv(229, 78%, 55%) |
| CMYK | cmyk(78%, 63.1%, 0%, 44.7%) |
| CIE-LAB | lab(25.77, 25.45, -51.66) |
| CIE-LCH | lch(25.77, 57.59, 296.23°) |
| OKLab | oklab(36.99% -0.0055 -0.1493) |
| OKLCH | oklch(36.99% 0.149 267.9) |
| XYZ | xyz(6.5991, 4.6696, 25.7477) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.43
Blueberry
#464196
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.50
Darkish Blue
#014182
ΔE00 7.11
Cobalt (survey)
#1E488F
ΔE00 7.15
Cobalt
#0047AB
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F348D #8D781F
analogous
#1F6B8D #1F348D #411F8D
triadic
#1F348D #8D1F34 #348D1F
tetradic
#1F348D #8D1F6B #8D781F #1F8D41
square
#1F348D #8D1F6B #8D781F #1F8D41
split-complementary
#1F348D #8D411F #6B8D1F
monochromatic
#090F29 #14215B #1F348D #2A47BF #4E69D8
Accessibility & contrast
On white
10.86
#1F348D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1F348D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F348D
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F348D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F348D | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f348d; /* rgb */ color: rgb(31, 52, 141); /* oklch */ color: oklch(37.0% 0.149 267.9);
Tailwind
colors: {
custom: {
50: '#6d6baf',
500: '#1f348d',
950: '#000000',
},
}SCSS
$custom: #1f348d; $custom-light: #6d6baf; $custom-dark: #000000;
JSON
{
"hex": "#1f348d",
"rgb": {
"r": 31,
"g": 52,
"b": 141
},
"hsl": {
"h": 228.545,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.36991,
"c": 0.14941,
"h": 267.9
},
"luminance": 0.0467
}Semantic roles & 50–950 ramp
primary
#1F348D
secondary
#BBA64D
accent
#C741E7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F