#1856B3#1856B3

#1856B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.161 H 259.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#1856B3
RGBrgb(24, 86, 179)
HSLhsl(216, 76%, 40%)
HSVhsv(216, 87%, 70%)
CMYKcmyk(86.6%, 52%, 0%, 29.8%)
CIE-LABlab(38.03, 16.83, -54.68)
CIE-LCHlch(38.03, 57.21, 287.11°)
OKLaboklab(47.12% -0.0302 -0.1577)
OKLCHoklch(47.12% 0.161 259.1)
XYZxyz(11.8382, 10.1029, 43.9652)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1856B3 #B37518
analogous
#18A4B3 #1856B3 #2718B3
triadic
#1856B3 #B31856 #56B318
tetradic
#1856B3 #B318A4 #B37518 #18B327
square
#1856B3 #B318A4 #B37518 #18B327
split-complementary
#1856B3 #B32718 #A4B318
monochromatic
#0A2247 #113C7D #1856B3 #2671E2 #5C95E9

Accessibility & contrast

On white

6.95
#1856B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1856B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1856B3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1856B3#FFFFFF#000000##FFFFFF
##1856B31.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1856b3;
/* rgb */ color: rgb(24, 86, 179);
/* oklch */ color: oklch(47.1% 0.161 259.1);
Tailwind
colors: {
  custom: {
    50: '#7384ca',
    500: '#1856b3',
    950: '#000000',
  },
}
SCSS
$custom: #1856b3;
$custom-light: #7384ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1856b3",
  "rgb": {
    "r": 24,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 216,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47119,
    "c": 0.16054,
    "h": 259.1
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#1856B3
secondary
#CD9F5A
accent
#A735F3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1856B3

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

Preview Lab → · Contrast checker → · Palette generator →

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