#1F348F#1F348F
#1F348F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.152 H 267.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F348F |
|---|---|
| RGB | rgb(31, 52, 143) |
| HSL | hsl(229, 64%, 34%) |
| HSV | hsv(229, 78%, 56%) |
| CMYK | cmyk(78.3%, 63.6%, 0%, 43.9%) |
| CIE-LAB | lab(25.95, 26.23, -52.60) |
| CIE-LCH | lch(25.95, 58.78, 296.50°) |
| OKLab | oklab(37.18% -0.0055 -0.1521) |
| OKLCH | oklch(37.18% 0.152 267.9) |
| XYZ | xyz(6.7493, 4.7297, 26.5385) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 6.04
Darkslateblue
#483D8B
ΔE00 6.50
Cobalt
#0047AB
ΔE00 7.22
Cobalt (survey)
#1E488F
ΔE00 7.22
Darkish Blue
#014182
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F348F #8F7A1F
analogous
#1F6C8F #1F348F #421F8F
triadic
#1F348F #8F1F34 #348F1F
tetradic
#1F348F #8F1F6C #8F7A1F #1F8F42
square
#1F348F #8F1F6C #8F7A1F #1F8F42
split-complementary
#1F348F #8F421F #6C8F1F
monochromatic
#090F2A #14225D #1F348F #2A46C1 #4F69D9
Accessibility & contrast
On white
10.79
#1F348F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F348F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F348F
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F348F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F348F | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f348f; /* rgb */ color: rgb(31, 52, 143); /* oklch */ color: oklch(37.2% 0.152 267.9);
Tailwind
colors: {
custom: {
50: '#6e6bb1',
500: '#1f348f',
950: '#000000',
},
}SCSS
$custom: #1f348f; $custom-light: #6e6bb1; $custom-dark: #000000;
JSON
{
"hex": "#1f348f",
"rgb": {
"r": 31,
"g": 52,
"b": 143
},
"hsl": {
"h": 228.75,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.37179,
"c": 0.15219,
"h": 267.9
},
"luminance": 0.0473
}Semantic roles & 50–950 ramp
primary
#1F348F
secondary
#BCA74E
accent
#C840E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80