#1F5CB3#1F5CB3
#1F5CB3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.152 H 258.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5CB3 |
|---|---|
| RGB | rgb(31, 92, 179) |
| HSL | hsl(215, 70%, 41%) |
| HSV | hsv(215, 83%, 70%) |
| CMYK | cmyk(82.7%, 48.6%, 0%, 29.8%) |
| CIE-LAB | lab(39.91, 13.44, -51.62) |
| CIE-LCH | lch(39.91, 53.34, 284.59°) |
| OKLab | oklab(48.61% -0.031 -0.1485) |
| OKLCH | oklch(48.61% 0.152 258.2) |
| XYZ | xyz(12.5259, 11.1987, 44.1405) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.81
Sapphire
#0F52BA
ΔE00 3.61
Denim Blue
#3B5B92
ΔE00 4.56
Light Navy Blue
#2E5A88
ΔE00 4.89
Denim (survey)
#3B638C
ΔE00 5.06
Mid Blue
#276AB3
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5CB3 #B3761F
analogous
#1FA6B3 #1F5CB3 #2C1FB3
triadic
#1F5CB3 #B31F5C #5CB31F
tetradic
#1F5CB3 #B31FA6 #B3761F #1FB32C
square
#1F5CB3 #B31FA6 #B3761F #1FB32C
split-complementary
#1F5CB3 #B32C1F #A6B31F
monochromatic
#0D264B #16417F #1F5CB3 #3379DC #689BE5
Accessibility & contrast
On white
6.48
#1F5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#1F5CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5CB3
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5CB3 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #1f5cb3; /* rgb */ color: rgb(31, 92, 179); /* oklch */ color: oklch(48.6% 0.152 258.2);
Tailwind
colors: {
custom: {
50: '#7489ca',
500: '#1f5cb3',
950: '#000000',
},
}SCSS
$custom: #1f5cb3; $custom-light: #7489ca; $custom-dark: #000000;
JSON
{
"hex": "#1f5cb3",
"rgb": {
"r": 31,
"g": 92,
"b": 179
},
"hsl": {
"h": 215.27,
"s": 70.476,
"l": 41.176
},
"oklch": {
"l": 0.48613,
"c": 0.15167,
"h": 258.2
},
"luminance": 0.112
}Semantic roles & 50–950 ramp
primary
#1F5CB3
secondary
#CAA064
accent
#A43BED
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82