#10215F#10215F

#10215F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.112 H 266.9°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#10215F
RGBrgb(16, 33, 95)
HSLhsl(227, 71%, 22%)
HSVhsv(227, 83%, 37%)
CMYKcmyk(83.2%, 65.3%, 0%, 62.7%)
CIE-LABlab(15.61, 18.58, -38.83)
CIE-LCHlch(15.61, 43.05, 295.56°)
OKLaboklab(27.96% -0.0061 -0.1123)
OKLCHoklch(27.96% 0.112 266.9)
XYZxyz(2.8224, 2.0238, 11.0661)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10215F #5F4E10
analogous
#10495F #10215F #27105F
triadic
#10215F #5F1021 #215F10
tetradic
#10215F #5F1049 #5F4E10 #105F27
square
#10215F #5F1049 #5F4E10 #105F27
split-complementary
#10215F #5F2710 #495F10
monochromatic
#04091A #070F2B #10215F #193393 #2245C8

Accessibility & contrast

On white

14.95
#10215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10215F
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10215F#FFFFFF#000000##FFFFFF
##10215F1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10215f;
/* rgb */ color: rgb(16, 33, 95);
/* oklch */ color: oklch(28.0% 0.112 266.9);
Tailwind
colors: {
  custom: {
    50: '#5d5b8d',
    500: '#10215f',
    950: '#000000',
  },
}
SCSS
$custom: #10215f;
$custom-light: #5d5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#10215f",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 227.089,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27959,
    "c": 0.11243,
    "h": 266.9
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#10215F
secondary
#988233
accent
#C73AEE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #10215F

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

Preview Lab → · Contrast checker → · Palette generator →

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