#1F45AB#1F45AB
#1F45AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.169 H 264.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F45AB |
|---|---|
| RGB | rgb(31, 69, 171) |
| HSL | hsl(224, 69%, 40%) |
| HSV | hsv(224, 82%, 67%) |
| CMYK | cmyk(81.9%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(32.89, 25.63, -58.27) |
| CIE-LCH | lch(32.89, 63.66, 293.75°) |
| OKLab | oklab(43.09% -0.016 -0.1685) |
| OKLCH | oklch(43.09% 0.169 264.6) |
| XYZ | xyz(10.0413, 7.4866, 39.4360) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.04
Sapphire (survey)
#2138AB
ΔE00 4.28
Blue Blue
#2242C7
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 4.62
Sapphire
#0F52BA
ΔE00 4.80
Blueberry
#464196
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F45AB #AB851F
analogous
#1F8BAB #1F45AB #3F1FAB
triadic
#1F45AB #AB1F45 #45AB1F
tetradic
#1F45AB #AB1F8B #AB851F #1FAB3F
square
#1F45AB #AB1F8B #AB851F #1FAB3F
split-complementary
#1F45AB #AB3F1F #8BAB1F
monochromatic
#0C1B43 #163077 #1F45AB #2E5DD9 #6285E3
Accessibility & contrast
On white
8.41
#1F45AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F45AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F45AB
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F45AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F45AB | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f45ab; /* rgb */ color: rgb(31, 69, 171); /* oklch */ color: oklch(43.1% 0.169 264.6);
Tailwind
colors: {
custom: {
50: '#7378c5',
500: '#1f45ab',
950: '#000000',
},
}SCSS
$custom: #1f45ab; $custom-light: #7378c5; $custom-dark: #000000;
JSON
{
"hex": "#1f45ab",
"rgb": {
"r": 31,
"g": 69,
"b": 171
},
"hsl": {
"h": 223.714,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.43092,
"c": 0.16922,
"h": 264.6
},
"luminance": 0.07488
}Semantic roles & 50–950 ramp
primary
#1F45AB
secondary
#C7AB5E
accent
#BC3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82