#10227E#10227E

#10227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.155 H 266.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#10227E
RGBrgb(16, 34, 126)
HSLhsl(230, 77%, 28%)
HSVhsv(230, 87%, 49%)
CMYKcmyk(87.3%, 73%, 0%, 50.6%)
CIE-LABlab(19.06, 30.45, -53.30)
CIE-LCHlch(19.06, 61.39, 299.74°)
OKLaboklab(31.45% -0.0083 -0.1545)
OKLCHoklch(31.45% 0.155 266.9)
XYZxyz(4.5503, 2.7600, 20.0275)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10227E #7E6C10
analogous
#10597E #10227E #35107E
triadic
#10227E #7E1022 #227E10
tetradic
#10227E #7E1059 #7E6C10 #107E35
square
#10227E #7E1059 #7E6C10 #107E35
split-complementary
#10227E #7E3510 #597E10
monochromatic
#03071B #091348 #10227E #1731B4 #2544E3

Accessibility & contrast

On white

13.53
#10227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#10227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10227E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10227E#FFFFFF#000000##FFFFFF
##10227E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #10227e;
/* rgb */ color: rgb(16, 34, 126);
/* oklch */ color: oklch(31.4% 0.155 266.9);
Tailwind
colors: {
  custom: {
    50: '#665da4',
    500: '#10227e',
    950: '#000000',
  },
}
SCSS
$custom: #10227e;
$custom-light: #665da4;
$custom-dark: #000000;
JSON
{
  "hex": "#10227e",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 230.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31447,
    "c": 0.15473,
    "h": 266.9
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#10227E
secondary
#B4A036
accent
#D534F4
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #10227E

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

Preview Lab → · Contrast checker → · Palette generator →

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