#10218D#10218D

#10218D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.175 H 266.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#10218D
RGBrgb(16, 33, 141)
HSLhsl(232, 80%, 31%)
HSVhsv(232, 89%, 55%)
CMYKcmyk(88.7%, 76.6%, 0%, 44.7%)
CIE-LABlab(20.52, 36.73, -60.32)
CIE-LCHlch(20.52, 70.62, 301.34°)
OKLaboklab(33% -0.0096 -0.1749)
OKLCHoklch(33% 0.175 266.9)
XYZxyz(5.5636, 3.1203, 25.5032)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10218D #8D7C10
analogous
#105F8D #10218D #3D108D
triadic
#10218D #8D1021 #218D10
tetradic
#10218D #8D105F #8D7C10 #108D3D
square
#10218D #8D105F #8D7C10 #108D3D
split-complementary
#10218D #8D3D10 #5F8D10
monochromatic
#04071F #0A1456 #10218D #162EC4 #3049E7

Accessibility & contrast

On white

12.93
#10218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#10218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10218D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10218D#FFFFFF#000000##FFFFFF
##10218D1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #10218d;
/* rgb */ color: rgb(16, 33, 141);
/* oklch */ color: oklch(33.0% 0.175 266.9);
Tailwind
colors: {
  custom: {
    50: '#6b5db0',
    500: '#10218d',
    950: '#000000',
  },
}
SCSS
$custom: #10218d;
$custom-light: #6b5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#10218d",
  "rgb": {
    "r": 16,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 231.84,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.17516,
    "h": 266.9
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#10218D
secondary
#C2AF37
accent
#DB32F6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #10218D

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

Preview Lab → · Contrast checker → · Palette generator →

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