#1857B3#1857B3

#1857B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.159 H 258.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#1857B3
RGBrgb(24, 87, 179)
HSLhsl(216, 76%, 40%)
HSVhsv(216, 87%, 70%)
CMYKcmyk(86.6%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.31, 16.16, -54.21)
CIE-LCHlch(38.31, 56.57, 286.60°)
OKLaboklab(47.34% -0.0309 -0.1563)
OKLCHoklch(47.34% 0.159 258.8)
XYZxyz(11.9186, 10.2637, 43.9920)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1857B3 #B37418
analogous
#18A5B3 #1857B3 #2718B3
triadic
#1857B3 #B31857 #57B318
tetradic
#1857B3 #B318A5 #B37418 #18B327
square
#1857B3 #B318A5 #B37418 #18B327
split-complementary
#1857B3 #B32718 #A5B318
monochromatic
#0A2347 #113D7D #1857B3 #2673E2 #5C96E9

Accessibility & contrast

On white

6.88
#1857B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1857B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1857B3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1857B3#FFFFFF#000000##FFFFFF
##1857B31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1857b3;
/* rgb */ color: rgb(24, 87, 179);
/* oklch */ color: oklch(47.3% 0.159 258.8);
Tailwind
colors: {
  custom: {
    50: '#7385ca',
    500: '#1857b3',
    950: '#000000',
  },
}
SCSS
$custom: #1857b3;
$custom-light: #7385ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1857b3",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 215.613,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.15931,
    "h": 258.8
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#1857B3
secondary
#CD9E5A
accent
#A635F3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1857B3

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

Preview Lab → · Contrast checker → · Palette generator →

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