#1F4396#1F4396
#1F4396 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.143 H 263.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4396 |
|---|---|
| RGB | rgb(31, 67, 150) |
| HSL | hsl(222, 66%, 35%) |
| HSV | hsv(222, 79%, 59%) |
| CMYK | cmyk(79.3%, 55.3%, 0%, 41.2%) |
| CIE-LAB | lab(30.66, 18.70, -49.23) |
| CIE-LCH | lch(30.66, 52.67, 290.80°) |
| OKLab | oklab(40.88% -0.0159 -0.142) |
| OKLCH | oklch(40.88% 0.143 263.6) |
| XYZ | xyz(8.0753, 6.5067, 29.6786) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.46
Cobalt
#0047AB
ΔE00 3.14
Darkish Blue
#014182
ΔE00 4.22
Twilight Blue
#0A437A
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4396 #96721F
analogous
#1F7E96 #1F4396 #371F96
triadic
#1F4396 #961F43 #43961F
tetradic
#1F4396 #961F7E #96721F #1F9637
square
#1F4396 #961F7E #96721F #1F9637
split-complementary
#1F4396 #96371F #7E961F
monochromatic
#0A1631 #152C63 #1F4396 #295AC9 #547DDC
Accessibility & contrast
On white
9.12
#1F4396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F4396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4396
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4396 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4396; /* rgb */ color: rgb(31, 67, 150); /* oklch */ color: oklch(40.9% 0.143 263.6);
Tailwind
colors: {
custom: {
50: '#6e76b5',
500: '#1f4396',
950: '#000000',
},
}SCSS
$custom: #1f4396; $custom-light: #6e76b5; $custom-dark: #000000;
JSON
{
"hex": "#1f4396",
"rgb": {
"r": 31,
"g": 67,
"b": 150
},
"hsl": {
"h": 221.849,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.40884,
"c": 0.14284,
"h": 263.6
},
"luminance": 0.06508
}Semantic roles & 50–950 ramp
primary
#1F4396
secondary
#BF9E52
accent
#B53FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80