#1851B4#1851B4
#1851B4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.168 H 260.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1851B4 |
|---|---|
| RGB | rgb(24, 81, 180) |
| HSL | hsl(218, 76%, 40%) |
| HSV | hsv(218, 87%, 71%) |
| CMYK | cmyk(86.7%, 55%, 0%, 29.4%) |
| CIE-LAB | lab(36.69, 20.57, -57.43) |
| CIE-LCH | lch(36.69, 61.00, 289.70°) |
| OKLab | oklab(46.13% -0.0269 -0.1659) |
| OKLCH | oklch(46.13% 0.168 260.8) |
| XYZ | xyz(11.5543, 9.3729, 44.3713) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 0.80
Cobalt
#0047AB
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.32
Denim
#1560BD
ΔE00 5.38
Denim Blue
#3B5B92
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1851B4 #B47B18
analogous
#189FB4 #1851B4 #2D18B4
triadic
#1851B4 #B41851 #51B418
tetradic
#1851B4 #B4189F #B47B18 #18B42D
square
#1851B4 #B4189F #B47B18 #18B42D
split-complementary
#1851B4 #B42D18 #9FB418
monochromatic
#0A2048 #11397E #1851B4 #276BE2 #5D90E9
Accessibility & contrast
On white
7.30
#1851B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#1851B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1851B4
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1851B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1851B4 | 1.00 | 7.30 | 2.87 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1851b4; /* rgb */ color: rgb(24, 81, 180); /* oklch */ color: oklch(46.1% 0.168 260.8);
Tailwind
colors: {
custom: {
50: '#7381cb',
500: '#1851b4',
950: '#000000',
},
}SCSS
$custom: #1851b4; $custom-light: #7381cb; $custom-dark: #000000;
JSON
{
"hex": "#1851b4",
"rgb": {
"r": 24,
"g": 81,
"b": 180
},
"hsl": {
"h": 218.077,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.46126,
"c": 0.16803,
"h": 260.8
},
"luminance": 0.09374
}Semantic roles & 50–950 ramp
primary
#1851B4
secondary
#CDA35B
accent
#AE35F3
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82