#1856B4#1856B4

#1856B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.162 H 259.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#1856B4
RGBrgb(24, 86, 180)
HSLhsl(216, 76%, 40%)
HSVhsv(216, 87%, 71%)
CMYKcmyk(86.7%, 52.2%, 0%, 29.4%)
CIE-LABlab(38.10, 17.23, -55.15)
CIE-LCHlch(38.10, 57.78, 287.35°)
OKLaboklab(47.2% -0.0301 -0.1591)
OKLCHoklch(47.2% 0.162 259.3)
XYZxyz(11.9397, 10.1435, 44.4998)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1856B4 #B47618
analogous
#18A4B4 #1856B4 #2818B4
triadic
#1856B4 #B41856 #56B418
tetradic
#1856B4 #B418A4 #B47618 #18B428
square
#1856B4 #B418A4 #B47618 #18B428
split-complementary
#1856B4 #B42818 #A4B418
monochromatic
#0A2248 #113C7E #1856B4 #2771E2 #5D95E9

Accessibility & contrast

On white

6.93
#1856B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1856B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1856B4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1856B4#FFFFFF#000000##FFFFFF
##1856B41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1856b4;
/* rgb */ color: rgb(24, 86, 180);
/* oklch */ color: oklch(47.2% 0.162 259.3);
Tailwind
colors: {
  custom: {
    50: '#7384cb',
    500: '#1856b4',
    950: '#000000',
  },
}
SCSS
$custom: #1856b4;
$custom-light: #7384cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1856b4",
  "rgb": {
    "r": 24,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 216.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.16188,
    "h": 259.3
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#1856B4
secondary
#CDA05B
accent
#A735F3
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1856B4

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

Preview Lab → · Contrast checker → · Palette generator →

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