#1F45AE#1F45AE
#1F45AE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.173 H 264.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F45AE |
|---|---|
| RGB | rgb(31, 69, 174) |
| HSL | hsl(224, 70%, 40%) |
| HSV | hsv(224, 82%, 68%) |
| CMYK | cmyk(82.2%, 60.3%, 0%, 31.8%) |
| CIE-LAB | lab(33.14, 26.80, -59.65) |
| CIE-LCH | lch(33.14, 65.40, 294.20°) |
| OKLab | oklab(43.36% -0.0159 -0.1725) |
| OKLCH | oklch(43.36% 0.173 264.7) |
| XYZ | xyz(10.3305, 7.6023, 40.9591) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.25
Blue Blue
#2242C7
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.03
Blue (survey)
#0343DF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F45AE #AE881F
analogous
#1F8CAE #1F45AE #411FAE
triadic
#1F45AE #AE1F45 #45AE1F
tetradic
#1F45AE #AE1F8C #AE881F #1FAE41
square
#1F45AE #AE1F8C #AE881F #1FAE41
split-complementary
#1F45AE #AE411F #8CAE1F
monochromatic
#0C1C46 #16307A #1F45AE #305DDA #6486E3
Accessibility & contrast
On white
8.33
#1F45AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#1F45AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F45AE
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F45AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F45AE | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f45ae; /* rgb */ color: rgb(31, 69, 174); /* oklch */ color: oklch(43.4% 0.173 264.7);
Tailwind
colors: {
custom: {
50: '#7478c7',
500: '#1f45ae',
950: '#000000',
},
}SCSS
$custom: #1f45ae; $custom-light: #7478c7; $custom-dark: #000000;
JSON
{
"hex": "#1f45ae",
"rgb": {
"r": 31,
"g": 69,
"b": 174
},
"hsl": {
"h": 224.056,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.43357,
"c": 0.17325,
"h": 264.7
},
"luminance": 0.07604
}Semantic roles & 50–950 ramp
primary
#1F45AE
secondary
#C8AD60
accent
#BD3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82