#1F4491#1F4491
#1F4491 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.134 H 262.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4491 |
|---|---|
| RGB | rgb(31, 68, 145) |
| HSL | hsl(221, 65%, 35%) |
| HSV | hsv(221, 79%, 57%) |
| CMYK | cmyk(78.6%, 53.1%, 0%, 43.1%) |
| CIE-LAB | lab(30.57, 16.02, -46.32) |
| CIE-LCH | lch(30.57, 49.01, 289.07°) |
| OKLab | oklab(40.7% -0.0172 -0.1334) |
| OKLCH | oklch(40.7% 0.134 262.7) |
| XYZ | xyz(7.7412, 6.4690, 27.6232) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.67
Darkish Blue
#014182
ΔE00 3.50
Cobalt
#0047AB
ΔE00 3.57
Twilight Blue
#0A437A
ΔE00 4.48
Dusk Blue
#26538D
ΔE00 5.41
Prussian Blue
#004577
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4491 #916C1F
analogous
#1F7D91 #1F4491 #331F91
triadic
#1F4491 #911F44 #44911F
tetradic
#1F4491 #911F7D #916C1F #1F9133
square
#1F4491 #911F7D #916C1F #1F9133
split-complementary
#1F4491 #91331F #7D911F
monochromatic
#09152C #142C5F #1F4491 #2A5CC3 #517DDA
Accessibility & contrast
On white
9.15
#1F4491 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F4491 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4491
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4491 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4D94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4491; /* rgb */ color: rgb(31, 68, 145); /* oklch */ color: oklch(40.7% 0.134 262.7);
Tailwind
colors: {
custom: {
50: '#6d77b2',
500: '#1f4491',
950: '#000000',
},
}SCSS
$custom: #1f4491; $custom-light: #6d77b2; $custom-dark: #000000;
JSON
{
"hex": "#1f4491",
"rgb": {
"r": 31,
"g": 68,
"b": 145
},
"hsl": {
"h": 220.526,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.40696,
"c": 0.13448,
"h": 262.7
},
"luminance": 0.0647
}Semantic roles & 50–950 ramp
primary
#1F4491
secondary
#BD994F
accent
#B140E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80