#102170#102170

#102170 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.137 H 267.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#102170
RGBrgb(16, 33, 112)
HSLhsl(229, 75%, 25%)
HSVhsv(229, 86%, 44%)
CMYKcmyk(85.7%, 70.5%, 0%, 56.1%)
CIE-LABlab(17.31, 25.60, -47.20)
CIE-LCHlch(17.31, 53.70, 298.48°)
OKLaboklab(29.73% -0.0067 -0.1367)
OKLCHoklch(29.73% 0.137 267.2)
XYZxyz(3.6812, 2.3673, 15.5890)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102170 #705F10
analogous
#105170 #102170 #2F1070
triadic
#102170 #701021 #217010
tetradic
#102170 #701051 #705F10 #10702F
square
#102170 #701051 #705F10 #10702F
split-complementary
#102170 #702F10 #517010
monochromatic
#04081B #08113A #102170 #1831A6 #1F41DB

Accessibility & contrast

On white

14.25
#102170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#102170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102170
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102170#FFFFFF#000000##FFFFFF
##1021701.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102170;
/* rgb */ color: rgb(16, 33, 112);
/* oklch */ color: oklch(29.7% 0.137 267.2);
Tailwind
colors: {
  custom: {
    50: '#625c9a',
    500: '#102170',
    950: '#000000',
  },
}
SCSS
$custom: #102170;
$custom-light: #625c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#102170",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 229.375,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.13692,
    "h": 267.2
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#102170
secondary
#A89334
accent
#D036F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #102170

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

Preview Lab → · Contrast checker → · Palette generator →

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