#1F4D9C#1F4D9C
#1F4D9C is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.139 H 260.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D9C |
|---|---|
| RGB | rgb(31, 77, 156) |
| HSL | hsl(218, 67%, 37%) |
| HSV | hsv(218, 80%, 61%) |
| CMYK | cmyk(80.1%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(33.98, 14.29, -47.50) |
| CIE-LCH | lch(33.98, 49.60, 286.74°) |
| OKLab | oklab(43.55% -0.0229 -0.1366) |
| OKLCH | oklch(43.55% 0.139 260.5) |
| XYZ | xyz(9.2175, 7.9983, 32.5041) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.20
Cobalt
#0047AB
ΔE00 2.90
Dusk Blue
#26538D
ΔE00 3.09
Sapphire
#0F52BA
ΔE00 3.96
Light Navy
#155084
ΔE00 4.64
Darkish Blue
#014182
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D9C #9C6E1F
analogous
#1F8C9C #1F4D9C #301F9C
triadic
#1F4D9C #9C1F4D #4D9C1F
tetradic
#1F4D9C #9C1F8C #9C6E1F #1F9C30
square
#1F4D9C #9C1F8C #9C6E1F #1F9C30
split-complementary
#1F4D9C #9C301F #8C9C1F
monochromatic
#0B1B36 #153469 #1F4D9C #2966CF #5889DE
Accessibility & contrast
On white
8.08
#1F4D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F4D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D9C
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D9C | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4d9c; /* rgb */ color: rgb(31, 77, 156); /* oklch */ color: oklch(43.6% 0.139 260.5);
Tailwind
colors: {
custom: {
50: '#6f7eba',
500: '#1f4d9c',
950: '#000000',
},
}SCSS
$custom: #1f4d9c; $custom-light: #6f7eba; $custom-dark: #000000;
JSON
{
"hex": "#1f4d9c",
"rgb": {
"r": 31,
"g": 77,
"b": 156
},
"hsl": {
"h": 217.92,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.43554,
"c": 0.13856,
"h": 260.5
},
"luminance": 0.07999
}Semantic roles & 50–950 ramp
primary
#1F4D9C
secondary
#C19A55
accent
#AB3EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81