#1F358C#1F358C
#1F358C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.147 H 267.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F358C |
|---|---|
| RGB | rgb(31, 53, 140) |
| HSL | hsl(228, 64%, 34%) |
| HSV | hsv(228, 78%, 55%) |
| CMYK | cmyk(77.9%, 62.1%, 0%, 45.1%) |
| CIE-LAB | lab(25.95, 24.38, -50.74) |
| CIE-LCH | lch(25.95, 56.29, 295.66°) |
| OKLab | oklab(37.1% -0.0062 -0.1466) |
| OKLCH | oklch(37.1% 0.147 267.6) |
| XYZ | xyz(6.5702, 4.7302, 25.3726) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.60
Blueberry
#464196
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.50
Darkish Blue
#014182
ΔE00 6.73
Cobalt (survey)
#1E488F
ΔE00 6.78
Cobalt
#0047AB
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F358C #8C761F
analogous
#1F6B8C #1F358C #3F1F8C
triadic
#1F358C #8C1F35 #358C1F
tetradic
#1F358C #8C1F6B #8C761F #1F8C3F
square
#1F358C #8C1F6B #8C761F #1F8C3F
split-complementary
#1F358C #8C3F1F #6B8C1F
monochromatic
#090F28 #14225A #1F358C #2A48BE #4E6AD8
Accessibility & contrast
On white
10.79
#1F358C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F358C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F358C
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F358C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F358C | 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)
#00438F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f358c; /* rgb */ color: rgb(31, 53, 140); /* oklch */ color: oklch(37.1% 0.147 267.6);
Tailwind
colors: {
custom: {
50: '#6d6cae',
500: '#1f358c',
950: '#000000',
},
}SCSS
$custom: #1f358c; $custom-light: #6d6cae; $custom-dark: #000000;
JSON
{
"hex": "#1f358c",
"rgb": {
"r": 31,
"g": 53,
"b": 140
},
"hsl": {
"h": 227.89,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.37098,
"c": 0.14675,
"h": 267.6
},
"luminance": 0.04731
}Semantic roles & 50–950 ramp
primary
#1F358C
secondary
#BBA44C
accent
#C541E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F