#10217E#10217E

#10217E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.156 H 267.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#10217E
RGBrgb(16, 33, 126)
HSLhsl(231, 77%, 28%)
HSVhsv(231, 87%, 49%)
CMYKcmyk(87.3%, 73.8%, 0%, 50.6%)
CIE-LABlab(18.82, 31.11, -53.70)
CIE-LCHlch(18.82, 62.06, 300.09°)
OKLaboklab(31.27% -0.0079 -0.1557)
OKLCHoklch(31.27% 0.156 267.1)
XYZxyz(4.5221, 2.7037, 20.0181)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10217E #7E6D10
analogous
#10587E #10217E #36107E
triadic
#10217E #7E1021 #217E10
tetradic
#10217E #7E1058 #7E6D10 #107E36
square
#10217E #7E1058 #7E6D10 #107E36
split-complementary
#10217E #7E3610 #587E10
monochromatic
#03071B #091348 #10217E #172FB4 #2542E3

Accessibility & contrast

On white

13.63
#10217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#10217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10217E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10217E#FFFFFF#000000##FFFFFF
##10217E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #10217e;
/* rgb */ color: rgb(16, 33, 126);
/* oklch */ color: oklch(31.3% 0.156 267.1);
Tailwind
colors: {
  custom: {
    50: '#665ca4',
    500: '#10217e',
    950: '#000000',
  },
}
SCSS
$custom: #10217e;
$custom-light: #665ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#10217e",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 230.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31273,
    "c": 0.15587,
    "h": 267.1
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#10217E
secondary
#B4A136
accent
#D634F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #10217E

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

Preview Lab → · Contrast checker → · Palette generator →

#10217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva