#1F5AB0#1F5AB0
#1F5AB0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.150 H 258.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5AB0 |
|---|---|
| RGB | rgb(31, 90, 176) |
| HSL | hsl(216, 70%, 41%) |
| HSV | hsv(216, 82%, 69%) |
| CMYK | cmyk(82.4%, 48.9%, 0%, 31%) |
| CIE-LAB | lab(39.13, 13.57, -51.11) |
| CIE-LCH | lch(39.13, 52.88, 284.87°) |
| OKLab | oklab(47.95% -0.03 -0.147) |
| OKLCH | oklch(47.95% 0.15 258.5) |
| XYZ | xyz(12.0548, 10.7368, 42.5029) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.54
Sapphire
#0F52BA
ΔE00 3.11
Denim Blue
#3B5B92
ΔE00 4.26
Dusk Blue
#26538D
ΔE00 4.58
Light Navy Blue
#2E5A88
ΔE00 4.60
Denim (survey)
#3B638C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5AB0 #B0751F
analogous
#1FA2B0 #1F5AB0 #2C1FB0
triadic
#1F5AB0 #B01F5A #5AB01F
tetradic
#1F5AB0 #B01FA2 #B0751F #1FB02C
square
#1F5AB0 #B01FA2 #B0751F #1FB02C
split-complementary
#1F5AB0 #B02C1F #A2B01F
monochromatic
#0D2548 #163F7C #1F5AB0 #3176DB #6599E4
Accessibility & contrast
On white
6.67
#1F5AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#1F5AB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5AB0
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5AB0 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2863B3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #1f5ab0; /* rgb */ color: rgb(31, 90, 176); /* oklch */ color: oklch(47.9% 0.150 258.5);
Tailwind
colors: {
custom: {
50: '#7388c8',
500: '#1f5ab0',
950: '#000000',
},
}SCSS
$custom: #1f5ab0; $custom-light: #7388c8; $custom-dark: #000000;
JSON
{
"hex": "#1f5ab0",
"rgb": {
"r": 31,
"g": 90,
"b": 176
},
"hsl": {
"h": 215.586,
"s": 70.048,
"l": 40.588
},
"oklch": {
"l": 0.47949,
"c": 0.15004,
"h": 258.5
},
"luminance": 0.10738
}Semantic roles & 50–950 ramp
primary
#1F5AB0
secondary
#C99F62
accent
#A43BED
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82