#10215D#10215D

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

Color values

HEX#10215D
RGBrgb(16, 33, 93)
HSLhsl(227, 71%, 21%)
HSVhsv(227, 83%, 36%)
CMYKcmyk(82.8%, 64.5%, 0%, 63.5%)
CIE-LABlab(15.42, 17.73, -37.81)
CIE-LCHlch(15.42, 41.76, 295.12°)
OKLaboklab(27.76% -0.0062 -0.1093)
OKLCHoklch(27.76% 0.109 266.8)
XYZxyz(2.7326, 1.9879, 10.5935)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10215D #5D4C10
analogous
#10485D #10215D #26105D
triadic
#10215D #5D1021 #215D10
tetradic
#10215D #5D1048 #5D4C10 #105D26
square
#10215D #5D1048 #5D4C10 #105D26
split-complementary
#10215D #5D2610 #485D10
monochromatic
#04091A #070E29 #10215D #193491 #2246C5

Accessibility & contrast

On white

15.03
#10215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10215D
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10215D#FFFFFF#000000##FFFFFF
##10215D1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #10215d;
/* rgb */ color: rgb(16, 33, 93);
/* oklch */ color: oklch(27.8% 0.109 266.8);
Tailwind
colors: {
  custom: {
    50: '#5d5b8b',
    500: '#10215d',
    950: '#000000',
  },
}
SCSS
$custom: #10215d;
$custom-light: #5d5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#10215d",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 226.753,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27761,
    "c": 0.10943,
    "h": 266.8
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#10215D
secondary
#968033
accent
#C63AED
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #10215D

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

Preview Lab → · Contrast checker → · Palette generator →

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