#1857B4#1857B4
#1857B4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.161 H 259.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1857B4 |
|---|---|
| RGB | rgb(24, 87, 180) |
| HSL | hsl(216, 76%, 40%) |
| HSV | hsv(216, 87%, 71%) |
| CMYK | cmyk(86.7%, 51.7%, 0%, 29.4%) |
| CIE-LAB | lab(38.38, 16.56, -54.69) |
| CIE-LCH | lch(38.38, 57.14, 286.85°) |
| OKLab | oklab(47.41% -0.0307 -0.1577) |
| OKLCH | oklch(47.41% 0.161 259) |
| XYZ | xyz(12.0201, 10.3043, 44.5266) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.98
Denim
#1560BD
ΔE00 3.29
Dusk Blue
#26538D
ΔE00 4.70
Denim Blue
#3B5B92
ΔE00 4.81
Light Navy Blue
#2E5A88
ΔE00 5.12
Cobalt
#0047AB
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1857B4 #B47518
analogous
#18A5B4 #1857B4 #2718B4
triadic
#1857B4 #B41857 #57B418
tetradic
#1857B4 #B418A5 #B47518 #18B427
square
#1857B4 #B418A5 #B47518 #18B427
split-complementary
#1857B4 #B42718 #A5B418
monochromatic
#0A2348 #113D7E #1857B4 #2773E2 #5D96E9
Accessibility & contrast
On white
6.86
#1857B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#1857B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1857B4
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1857B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1857B4 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1662B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1857b4; /* rgb */ color: rgb(24, 87, 180); /* oklch */ color: oklch(47.4% 0.161 259.0);
Tailwind
colors: {
custom: {
50: '#7385cb',
500: '#1857b4',
950: '#000000',
},
}SCSS
$custom: #1857b4; $custom-light: #7385cb; $custom-dark: #000000;
JSON
{
"hex": "#1857b4",
"rgb": {
"r": 24,
"g": 87,
"b": 180
},
"hsl": {
"h": 215.769,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.47414,
"c": 0.16065,
"h": 259
},
"luminance": 0.10306
}Semantic roles & 50–950 ramp
primary
#1857B4
secondary
#CD9F5B
accent
#A635F3
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82