#11227E#11227E

#11227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.154 H 267.2°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#11227E
RGBrgb(17, 34, 126)
HSLhsl(231, 76%, 28%)
HSVhsv(231, 87%, 49%)
CMYKcmyk(86.5%, 73%, 0%, 50.6%)
CIE-LABlab(19.09, 30.52, -53.24)
CIE-LCHlch(19.09, 61.36, 299.82°)
OKLaboklab(31.49% -0.0074 -0.1543)
OKLCHoklch(31.49% 0.154 267.2)
XYZxyz(4.5678, 2.7690, 20.0283)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11227E #7E6D11
analogous
#11587E #11227E #36117E
triadic
#11227E #7E1122 #227E11
tetradic
#11227E #7E1158 #7E6D11 #117E36
square
#11227E #7E1158 #7E6D11 #117E36
split-complementary
#11227E #7E3611 #587E11
monochromatic
#04071B #0A1348 #11227E #1831B4 #2745E2

Accessibility & contrast

On white

13.51
#11227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #11227E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11227E#FFFFFF#000000##FFFFFF
##11227E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.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: #11227e;
/* rgb */ color: rgb(17, 34, 126);
/* oklch */ color: oklch(31.5% 0.154 267.2);
Tailwind
colors: {
  custom: {
    50: '#675da4',
    500: '#11227e',
    950: '#000000',
  },
}
SCSS
$custom: #11227e;
$custom-light: #675da4;
$custom-dark: #000000;
JSON
{
  "hex": "#11227e",
  "rgb": {
    "r": 17,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 230.642,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31485,
    "c": 0.15449,
    "h": 267.2
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#11227E
secondary
#B4A137
accent
#D535F3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #11227E

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

Preview Lab → · Contrast checker → · Palette generator →

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