#1852B4#1852B4
#1852B4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.167 H 260.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1852B4 |
|---|---|
| RGB | rgb(24, 82, 180) |
| HSL | hsl(218, 76%, 40%) |
| HSV | hsv(218, 87%, 71%) |
| CMYK | cmyk(86.7%, 54.4%, 0%, 29.4%) |
| CIE-LAB | lab(36.97, 19.90, -56.98) |
| CIE-LCH | lch(36.97, 60.35, 289.25°) |
| OKLab | oklab(46.34% -0.0275 -0.1645) |
| OKLCH | oklch(46.34% 0.167 260.5) |
| XYZ | xyz(11.6292, 9.5226, 44.3963) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 0.73
Cobalt
#0047AB
ΔE00 3.62
Dusk Blue
#26538D
ΔE00 4.87
Denim
#1560BD
ΔE00 5.03
Denim Blue
#3B5B92
ΔE00 5.43
Cobalt (survey)
#1E488F
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1852B4 #B47A18
analogous
#18A0B4 #1852B4 #2C18B4
triadic
#1852B4 #B41852 #52B418
tetradic
#1852B4 #B418A0 #B47A18 #18B42C
square
#1852B4 #B418A0 #B47A18 #18B42C
split-complementary
#1852B4 #B42C18 #A0B418
monochromatic
#0A2148 #11397E #1852B4 #276DE2 #5D91E9
Accessibility & contrast
On white
7.23
#1852B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#1852B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1852B4
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1852B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1852B4 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1852b4; /* rgb */ color: rgb(24, 82, 180); /* oklch */ color: oklch(46.3% 0.167 260.5);
Tailwind
colors: {
custom: {
50: '#7381cb',
500: '#1852b4',
950: '#000000',
},
}SCSS
$custom: #1852b4; $custom-light: #7381cb; $custom-dark: #000000;
JSON
{
"hex": "#1852b4",
"rgb": {
"r": 24,
"g": 82,
"b": 180
},
"hsl": {
"h": 217.692,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.46338,
"c": 0.1668,
"h": 260.5
},
"luminance": 0.09524
}Semantic roles & 50–950 ramp
primary
#1852B4
secondary
#CDA35B
accent
#AC35F3
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82