#21136F#21136F

#21136F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.146 H 278.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#21136F
RGBrgb(33, 19, 111)
HSLhsl(249, 71%, 25%)
HSVhsv(249, 83%, 44%)
CMYKcmyk(70.3%, 82.9%, 0%, 56.5%)
CIE-LABlab(15.15, 35.62, -50.07)
CIE-LCHlch(15.15, 61.45, 305.43°)
OKLaboklab(28.44% 0.0217 -0.1446)
OKLCHoklch(28.44% 0.146 278.5)
XYZxyz(3.7284, 1.9365, 15.2131)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21136F #616F13
analogous
#13336F #21136F #4F136F
triadic
#21136F #6F2113 #136F21
tetradic
#21136F #6F1333 #616F13 #136F4F
square
#21136F #6F1333 #616F13 #136F4F
split-complementary
#21136F #6F4F13 #336F13
monochromatic
#08041A #110A3B #21136F #311CA3 #4025D8

Accessibility & contrast

On white

15.14
#21136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#21136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21136F
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21136F#FFFFFF#000000##FFFFFF
##21136F1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #21136f;
/* rgb */ color: rgb(33, 19, 111);
/* oklch */ color: oklch(28.4% 0.146 278.5);
Tailwind
colors: {
  custom: {
    50: '#695499',
    500: '#21136f',
    950: '#000000',
  },
}
SCSS
$custom: #21136f;
$custom-light: #695499;
$custom-dark: #000000;
JSON
{
  "hex": "#21136f",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 249.13,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28439,
    "c": 0.14625,
    "h": 278.5
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#21136F
secondary
#95A638
accent
#EE3AD2
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #21136F

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

Preview Lab → · Contrast checker → · Palette generator →

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