#1F349B#1F349B
#1F349B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.168 H 268.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1F349B |
|---|---|
| RGB | rgb(31, 52, 155) |
| HSL | hsl(230, 67%, 36%) |
| HSV | hsv(230, 80%, 61%) |
| CMYK | cmyk(80%, 66.5%, 0%, 39.2%) |
| CIE-LAB | lab(27.05, 30.84, -58.16) |
| CIE-LCH | lch(27.05, 65.83, 297.93°) |
| OKLab | oklab(38.33% -0.0059 -0.1684) |
| OKLCH | oklch(38.33% 0.168 268) |
| XYZ | xyz(7.7074, 5.1130, 31.5847) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Blueberry
#464196
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.78
Cobalt
#0047AB
ΔE00 6.86
Blue Blue
#2242C7
ΔE00 6.96
Royal
#0C1793
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F349B #9B861F
analogous
#1F729B #1F349B #481F9B
triadic
#1F349B #9B1F34 #349B1F
tetradic
#1F349B #9B1F72 #9B861F #1F9B48
square
#1F349B #9B1F72 #9B861F #1F9B48
split-complementary
#1F349B #9B481F #729B1F
monochromatic
#0B1235 #152368 #1F349B #2945CE #576EDD
Accessibility & contrast
On white
10.38
#1F349B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#1F349B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F349B
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F349B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F349B | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f349b; /* rgb */ color: rgb(31, 52, 155); /* oklch */ color: oklch(38.3% 0.168 268.0);
Tailwind
colors: {
custom: {
50: '#716bb9',
500: '#1f349b',
950: '#000000',
},
}SCSS
$custom: #1f349b; $custom-light: #716bb9; $custom-dark: #000000;
JSON
{
"hex": "#1f349b",
"rgb": {
"r": 31,
"g": 52,
"b": 155
},
"hsl": {
"h": 229.839,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.38331,
"c": 0.16846,
"h": 268
},
"luminance": 0.05114
}Semantic roles & 50–950 ramp
primary
#1F349B
secondary
#C1AF55
accent
#CD3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81