#1857B4#1857B4

#1857B4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.161 H 259.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#1857B4
RGBrgb(24, 87, 180)
HSLhsl(216, 76%, 40%)
HSVhsv(216, 87%, 71%)
CMYKcmyk(86.7%, 51.7%, 0%, 29.4%)
CIE-LABlab(38.38, 16.56, -54.69)
CIE-LCHlch(38.38, 57.14, 286.85°)
OKLaboklab(47.41% -0.0307 -0.1577)
OKLCHoklch(47.41% 0.161 259)
XYZxyz(12.0201, 10.3043, 44.5266)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1857B4 #B47518
analogous
#18A5B4 #1857B4 #2718B4
triadic
#1857B4 #B41857 #57B418
tetradic
#1857B4 #B418A5 #B47518 #18B427
square
#1857B4 #B418A5 #B47518 #18B427
split-complementary
#1857B4 #B42718 #A5B418
monochromatic
#0A2348 #113D7E #1857B4 #2773E2 #5D96E9

Accessibility & contrast

On white

6.86
#1857B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1857B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1857B4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1857B4#FFFFFF#000000##FFFFFF
##1857B41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1857b4;
/* rgb */ color: rgb(24, 87, 180);
/* oklch */ color: oklch(47.4% 0.161 259.0);
Tailwind
colors: {
  custom: {
    50: '#7385cb',
    500: '#1857b4',
    950: '#000000',
  },
}
SCSS
$custom: #1857b4;
$custom-light: #7385cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1857b4",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 215.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.16065,
    "h": 259
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#1857B4
secondary
#CD9F5B
accent
#A635F3
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1857B4

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

Preview Lab → · Contrast checker → · Palette generator →

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