#10215E#10215E

#10215E is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.111 H 266.8°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#10215E
RGBrgb(16, 33, 94)
HSLhsl(227, 71%, 22%)
HSVhsv(227, 83%, 37%)
CMYKcmyk(83%, 64.9%, 0%, 63.1%)
CIE-LABlab(15.52, 18.15, -38.32)
CIE-LCHlch(15.52, 42.40, 295.35°)
OKLaboklab(27.86% -0.0061 -0.1108)
OKLCHoklch(27.86% 0.111 266.8)
XYZxyz(2.7772, 2.0057, 10.8283)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10215E #5E4D10
analogous
#10485E #10215E #26105E
triadic
#10215E #5E1021 #215E10
tetradic
#10215E #5E1048 #5E4D10 #105E26
square
#10215E #5E1048 #5E4D10 #105E26
split-complementary
#10215E #5E2610 #485E10
monochromatic
#04091A #070F2A #10215E #193392 #2246C7

Accessibility & contrast

On white

14.99
#10215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#10215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10215E
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10215E#FFFFFF#000000##FFFFFF
##10215E1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #10215e;
/* rgb */ color: rgb(16, 33, 94);
/* oklch */ color: oklch(27.9% 0.111 266.8);
Tailwind
colors: {
  custom: {
    50: '#5d5b8c',
    500: '#10215e',
    950: '#000000',
  },
}
SCSS
$custom: #10215e;
$custom-light: #5d5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#10215e",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 226.923,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2786,
    "c": 0.11094,
    "h": 266.8
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#10215E
secondary
#978133
accent
#C73AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #10215E

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

Preview Lab → · Contrast checker → · Palette generator →

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