#11215F#11215F

#11215F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.112 H 267.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#11215F
RGBrgb(17, 33, 95)
HSLhsl(228, 70%, 22%)
HSVhsv(228, 82%, 37%)
CMYKcmyk(82.1%, 65.3%, 0%, 62.7%)
CIE-LABlab(15.66, 18.69, -38.75)
CIE-LCHlch(15.66, 43.03, 295.75°)
OKLaboklab(28.01% -0.0052 -0.112)
OKLCHoklch(28.01% 0.112 267.3)
XYZxyz(2.8399, 2.0328, 11.0670)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#11215F #5F4F11
analogous
#11485F #11215F #28115F
triadic
#11215F #5F1121 #215F11
tetradic
#11215F #5F1148 #5F4F11 #115F28
square
#11215F #5F1148 #5F4F11 #115F28
split-complementary
#11215F #5F2811 #485F11
monochromatic
#05091A #080F2B #11215F #1A3393 #2445C7

Accessibility & contrast

On white

14.93
#11215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#11215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #11215F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##11215F#FFFFFF#000000##FFFFFF
##11215F1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #11215f;
/* rgb */ color: rgb(17, 33, 95);
/* oklch */ color: oklch(28.0% 0.112 267.3);
Tailwind
colors: {
  custom: {
    50: '#5d5b8d',
    500: '#11215f',
    950: '#000000',
  },
}
SCSS
$custom: #11215f;
$custom-light: #5d5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#11215f",
  "rgb": {
    "r": 17,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 227.692,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28007,
    "c": 0.11213,
    "h": 267.3
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#11215F
secondary
#988334
accent
#C83BEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #11215F

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

Preview Lab → · Contrast checker → · Palette generator →

#11215F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva