#102857#102857

#102857 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.090 H 262.1°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#102857
RGBrgb(16, 40, 87)
HSLhsl(220, 69%, 20%)
HSVhsv(220, 82%, 34%)
CMYKcmyk(81.6%, 54%, 0%, 65.9%)
CIE-LABlab(17.06, 9.90, -31.14)
CIE-LCHlch(17.06, 32.67, 287.64°)
OKLaboklab(28.84% -0.0125 -0.0895)
OKLCHoklch(28.84% 0.09 262.1)
XYZxyz(2.6922, 2.3156, 9.3200)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102857 #573F10
analogous
#104C57 #102857 #1B1057
triadic
#102857 #571028 #285710
tetradic
#102857 #57104C #573F10 #10571B
square
#102857 #57104C #573F10 #10571B
split-complementary
#102857 #571B10 #4C5710
monochromatic
#050C1A #061023 #102857 #1A408B #2358BE

Accessibility & contrast

On white

14.35
#102857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#102857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102857
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102857#FFFFFF#000000##FFFFFF
##1028571.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2D59
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #102857;
/* rgb */ color: rgb(16, 40, 87);
/* oklch */ color: oklch(28.8% 0.090 262.1);
Tailwind
colors: {
  custom: {
    50: '#5a6187',
    500: '#102857',
    950: '#000000',
  },
}
SCSS
$custom: #102857;
$custom-light: #5a6187;
$custom-dark: #000000;
JSON
{
  "hex": "#102857",
  "rgb": {
    "r": 16,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 219.718,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28837,
    "c": 0.09039,
    "h": 262.1
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#102857
secondary
#907132
accent
#B03CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #102857

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

Preview Lab → · Contrast checker → · Palette generator →

#102857 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva