#1F4998#1F4998
#1F4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.138 H 261.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4998 |
|---|---|
| RGB | rgb(31, 73, 152) |
| HSL | hsl(219, 66%, 36%) |
| HSV | hsv(219, 80%, 60%) |
| CMYK | cmyk(79.6%, 52%, 0%, 40.4%) |
| CIE-LAB | lab(32.53, 15.40, -47.42) |
| CIE-LCH | lch(32.53, 49.85, 288.00°) |
| OKLab | oklab(42.36% -0.0203 -0.1365) |
| OKLCH | oklch(42.36% 0.138 261.5) |
| XYZ | xyz(8.6131, 7.3224, 30.6591) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.30
Cobalt
#0047AB
ΔE00 2.67
Dusk Blue
#26538D
ΔE00 4.05
Darkish Blue
#014182
ΔE00 4.24
Twilight Blue
#0A437A
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4998 #986E1F
analogous
#1F8598 #1F4998 #321F98
triadic
#1F4998 #981F49 #49981F
tetradic
#1F4998 #981F85 #986E1F #1F9832
square
#1F4998 #981F85 #986E1F #1F9832
split-complementary
#1F4998 #98321F #85981F
monochromatic
#0A1832 #153165 #1F4998 #2961CB #5584DC
Accessibility & contrast
On white
8.52
#1F4998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1F4998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4998
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4998 | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4998; /* rgb */ color: rgb(31, 73, 152); /* oklch */ color: oklch(42.4% 0.138 261.5);
Tailwind
colors: {
custom: {
50: '#6e7bb7',
500: '#1f4998',
950: '#000000',
},
}SCSS
$custom: #1f4998; $custom-light: #6e7bb7; $custom-dark: #000000;
JSON
{
"hex": "#1f4998",
"rgb": {
"r": 31,
"g": 73,
"b": 152
},
"hsl": {
"h": 219.174,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.42355,
"c": 0.138,
"h": 261.5
},
"luminance": 0.07323
}Semantic roles & 50–950 ramp
primary
#1F4998
secondary
#C09A53
accent
#AE3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80