#1F48AE#1F48AE
#1F48AE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.170 H 264.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F48AE |
|---|---|
| RGB | rgb(31, 72, 174) |
| HSL | hsl(223, 70%, 40%) |
| HSV | hsv(223, 82%, 68%) |
| CMYK | cmyk(82.2%, 58.6%, 0%, 31.8%) |
| CIE-LAB | lab(33.94, 24.79, -58.34) |
| CIE-LCH | lch(33.94, 63.39, 293.02°) |
| OKLab | oklab(43.96% -0.0177 -0.1686) |
| OKLCH | oklch(43.96% 0.17 264) |
| XYZ | xyz(10.5197, 7.9808, 41.0222) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.75
Sapphire
#0F52BA
ΔE00 3.80
Blue Blue
#2242C7
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 5.21
Dusk Blue
#26538D
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F48AE #AE851F
analogous
#1F90AE #1F48AE #3D1FAE
triadic
#1F48AE #AE1F48 #48AE1F
tetradic
#1F48AE #AE1F90 #AE851F #1FAE3D
square
#1F48AE #AE1F90 #AE851F #1FAE3D
split-complementary
#1F48AE #AE3D1F #90AE1F
monochromatic
#0C1D46 #16337A #1F48AE #3061DA #6489E3
Accessibility & contrast
On white
8.09
#1F48AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F48AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F48AE
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F48AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F48AE | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f48ae; /* rgb */ color: rgb(31, 72, 174); /* oklch */ color: oklch(44.0% 0.170 264.0);
Tailwind
colors: {
custom: {
50: '#747ac7',
500: '#1f48ae',
950: '#000000',
},
}SCSS
$custom: #1f48ae; $custom-light: #747ac7; $custom-dark: #000000;
JSON
{
"hex": "#1f48ae",
"rgb": {
"r": 31,
"g": 72,
"b": 174
},
"hsl": {
"h": 222.797,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.43957,
"c": 0.16956,
"h": 264
},
"luminance": 0.07982
}Semantic roles & 50–950 ramp
primary
#1F48AE
secondary
#C8AB60
accent
#BA3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82