#102870#102870

#102870 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.128 H 265.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#102870
RGBrgb(16, 40, 112)
HSLhsl(225, 75%, 25%)
HSVhsv(225, 86%, 44%)
CMYKcmyk(85.7%, 64.3%, 0%, 56.1%)
CIE-LABlab(19.21, 20.62, -44.08)
CIE-LCHlch(19.21, 48.66, 295.07°)
OKLaboklab(31.13% -0.0106 -0.1275)
OKLCHoklch(31.13% 0.128 265.2)
XYZxyz(3.8961, 2.7971, 15.6606)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102870 #705810
analogous
#105870 #102870 #281070
triadic
#102870 #701028 #287010
tetradic
#102870 #701058 #705810 #107028
square
#102870 #701058 #705810 #107028
split-complementary
#102870 #702810 #587010
monochromatic
#040A1B #08153A #102870 #183BA6 #1F4EDB

Accessibility & contrast

On white

13.46
#102870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#102870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102870
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102870#FFFFFF#000000##FFFFFF
##1028701.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #102870;
/* rgb */ color: rgb(16, 40, 112);
/* oklch */ color: oklch(31.1% 0.128 265.2);
Tailwind
colors: {
  custom: {
    50: '#62619a',
    500: '#102870',
    950: '#000000',
  },
}
SCSS
$custom: #102870;
$custom-light: #62619a;
$custom-dark: #000000;
JSON
{
  "hex": "#102870",
  "rgb": {
    "r": 16,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 225,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3113,
    "c": 0.12798,
    "h": 265.2
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#102870
secondary
#A88B34
accent
#C336F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #102870

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

Preview Lab → · Contrast checker → · Palette generator →

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