#1F349C#1F349C
#1F349C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.170 H 268.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F349C |
|---|---|
| RGB | rgb(31, 52, 156) |
| HSL | hsl(230, 67%, 37%) |
| HSV | hsv(230, 80%, 61%) |
| CMYK | cmyk(80.1%, 66.7%, 0%, 38.8%) |
| CIE-LAB | lab(27.15, 31.22, -58.62) |
| CIE-LCH | lch(27.15, 66.41, 298.04°) |
| OKLab | oklab(38.43% -0.006 -0.1697) |
| OKLCH | oklch(38.43% 0.17 268) |
| XYZ | xyz(7.7917, 5.1467, 32.0288) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blueberry
#464196
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.82
Blue Blue
#2242C7
ΔE00 6.84
Cobalt
#0047AB
ΔE00 6.85
Royal
#0C1793
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F349C #9C871F
analogous
#1F739C #1F349C #491F9C
triadic
#1F349C #9C1F34 #349C1F
tetradic
#1F349C #9C1F73 #9C871F #1F9C49
square
#1F349C #9C1F73 #9C871F #1F9C49
split-complementary
#1F349C #9C491F #739C1F
monochromatic
#0B1236 #152369 #1F349C #2945CF #586EDE
Accessibility & contrast
On white
10.35
#1F349C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1F349C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F349C
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F349C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F349C | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f349c; /* rgb */ color: rgb(31, 52, 156); /* oklch */ color: oklch(38.4% 0.170 268.0);
Tailwind
colors: {
custom: {
50: '#716bba',
500: '#1f349c',
950: '#000000',
},
}SCSS
$custom: #1f349c; $custom-light: #716bba; $custom-dark: #000000;
JSON
{
"hex": "#1f349c",
"rgb": {
"r": 31,
"g": 52,
"b": 156
},
"hsl": {
"h": 229.92,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.38429,
"c": 0.1698,
"h": 268
},
"luminance": 0.05148
}Semantic roles & 50–950 ramp
primary
#1F349C
secondary
#C1AF55
accent
#CD3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81