#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
RGBrgb(24, 82, 180)
HSLhsl(218, 76%, 40%)
HSVhsv(218, 87%, 71%)
CMYKcmyk(86.7%, 54.4%, 0%, 29.4%)
CIE-LABlab(36.97, 19.90, -56.98)
CIE-LCHlch(36.97, 60.35, 289.25°)
OKLaboklab(46.34% -0.0275 -0.1645)
OKLCHoklch(46.34% 0.167 260.5)
XYZxyz(11.6292, 9.5226, 44.3963)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##1852B41.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.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

Preview Lab

Preview with #1852B4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1852B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva