#1F5CBB#1F5CBB
#1F5CBB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.162 H 259.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5CBB |
|---|---|
| RGB | rgb(31, 92, 187) |
| HSL | hsl(217, 72%, 43%) |
| HSV | hsv(217, 83%, 73%) |
| CMYK | cmyk(83.4%, 50.8%, 0%, 26.7%) |
| CIE-LAB | lab(40.46, 16.59, -55.42) |
| CIE-LCH | lch(40.46, 57.85, 286.67°) |
| OKLab | oklab(49.21% -0.0298 -0.1597) |
| OKLCH | oklch(49.21% 0.162 259.4) |
| XYZ | xyz(13.3586, 11.5318, 48.5259) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.78
Sapphire
#0F52BA
ΔE00 3.33
Denim Blue
#3B5B92
ΔE00 5.22
Mid Blue
#276AB3
ΔE00 5.34
French Blue
#436BAD
ΔE00 5.50
Denim (survey)
#3B638C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5CBB #BB7E1F
analogous
#1FAABB #1F5CBB #301FBB
triadic
#1F5CBB #BB1F5C #5CBB1F
tetradic
#1F5CBB #BB1FAA #BB7E1F #1FBB30
square
#1F5CBB #BB1FAA #BB7E1F #1FBB30
split-complementary
#1F5CBB #BB301F #AABB1F
monochromatic
#0E2852 #164287 #1F5CBB #397ADE #6E9DE7
Accessibility & contrast
On white
6.35
#1F5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#1F5CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5CBB
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5CBB | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #1f5cbb; /* rgb */ color: rgb(31, 92, 187); /* oklch */ color: oklch(49.2% 0.162 259.4);
Tailwind
colors: {
custom: {
50: '#7689d0',
500: '#1f5cbb',
950: '#000000',
},
}SCSS
$custom: #1f5cbb; $custom-light: #7689d0; $custom-dark: #000000;
JSON
{
"hex": "#1f5cbb",
"rgb": {
"r": 31,
"g": 92,
"b": 187
},
"hsl": {
"h": 216.538,
"s": 71.56,
"l": 42.745
},
"oklch": {
"l": 0.4921,
"c": 0.16242,
"h": 259.4
},
"luminance": 0.11533
}Semantic roles & 50–950 ramp
primary
#1F5CBB
secondary
#CDA669
accent
#A83AEE
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B14
muted
#7C7C82