#10228D#10228D

#10228D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.174 H 266.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#10228D
RGBrgb(16, 34, 141)
HSLhsl(231, 80%, 31%)
HSVhsv(231, 89%, 55%)
CMYKcmyk(88.7%, 75.9%, 0%, 44.7%)
CIE-LABlab(20.74, 36.11, -59.96)
CIE-LCHlch(20.74, 69.99, 301.06°)
OKLaboklab(33.15% -0.0098 -0.1739)
OKLCHoklch(33.15% 0.174 266.8)
XYZxyz(5.5918, 3.1766, 25.5126)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10228D #8D7B10
analogous
#10608D #10228D #3C108D
triadic
#10228D #8D1022 #228D10
tetradic
#10228D #8D1060 #8D7B10 #108D3C
square
#10228D #8D1060 #8D7B10 #108D3C
split-complementary
#10228D #8D3C10 #608D10
monochromatic
#04071F #0A1556 #10228D #162FC4 #304AE7

Accessibility & contrast

On white

12.84
#10228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#10228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10228D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10228D#FFFFFF#000000##FFFFFF
##10228D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #10228d;
/* rgb */ color: rgb(16, 34, 141);
/* oklch */ color: oklch(33.2% 0.174 266.8);
Tailwind
colors: {
  custom: {
    50: '#6b5eb0',
    500: '#10228d',
    950: '#000000',
  },
}
SCSS
$custom: #10228d;
$custom-light: #6b5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#10228d",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 231.36,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33154,
    "c": 0.17414,
    "h": 266.8
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#10228D
secondary
#C2AE37
accent
#DA32F6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #10228D

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

Preview Lab → · Contrast checker → · Palette generator →

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