#1F348C#1F348C
#1F348C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.148 H 267.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F348C |
|---|---|
| RGB | rgb(31, 52, 140) |
| HSL | hsl(228, 64%, 34%) |
| HSV | hsv(228, 78%, 55%) |
| CMYK | cmyk(77.9%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(25.68, 25.06, -51.18) |
| CIE-LCH | lch(25.68, 56.99, 296.09°) |
| OKLab | oklab(36.9% -0.0055 -0.1479) |
| OKLCH | oklch(36.9% 0.148 267.9) |
| XYZ | xyz(6.5250, 4.6400, 25.3576) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.59
Blueberry
#464196
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.50
Darkish Blue
#014182
ΔE00 7.04
Cobalt (survey)
#1E488F
ΔE00 7.12
Cobalt
#0047AB
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F348C #8C771F
analogous
#1F6A8C #1F348C #401F8C
triadic
#1F348C #8C1F34 #348C1F
tetradic
#1F348C #8C1F6A #8C771F #1F8C40
square
#1F348C #8C1F6A #8C771F #1F8C40
split-complementary
#1F348C #8C401F #6A8C1F
monochromatic
#090F28 #14215A #1F348C #2A47BE #4E68D8
Accessibility & contrast
On white
10.89
#1F348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1F348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F348C
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F348C | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f348c; /* rgb */ color: rgb(31, 52, 140); /* oklch */ color: oklch(36.9% 0.148 267.9);
Tailwind
colors: {
custom: {
50: '#6d6bae',
500: '#1f348c',
950: '#000000',
},
}SCSS
$custom: #1f348c; $custom-light: #6d6bae; $custom-dark: #000000;
JSON
{
"hex": "#1f348c",
"rgb": {
"r": 31,
"g": 52,
"b": 140
},
"hsl": {
"h": 228.44,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.36898,
"c": 0.14802,
"h": 267.9
},
"luminance": 0.04641
}Semantic roles & 50–950 ramp
primary
#1F348C
secondary
#BBA54C
accent
#C741E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F