#21367E#21367E

#21367E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.125 H 267.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#21367E
RGBrgb(33, 54, 126)
HSLhsl(226, 58%, 31%)
HSVhsv(226, 74%, 49%)
CMYKcmyk(73.8%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.16, 18.42, -43.28)
CIE-LCHlch(25.16, 47.04, 293.06°)
OKLaboklab(36.17% -0.0055 -0.1246)
OKLCHoklch(36.17% 0.125 267.5)
XYZxyz(5.7110, 4.4674, 20.2959)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21367E #7E6921
analogous
#21647E #21367E #3A217E
triadic
#21367E #7E2136 #367E21
tetradic
#21367E #7E2164 #7E6921 #217E3A
square
#21367E #7E2164 #7E6921 #217E3A
split-complementary
#21367E #7E3A21 #647E21
monochromatic
#080C1D #14214E #21367E #2E4BAE #4A68D0

Accessibility & contrast

On white

11.09
#21367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#21367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21367E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21367E#FFFFFF#000000##FFFFFF
##21367E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #21367e;
/* rgb */ color: rgb(33, 54, 126);
/* oklch */ color: oklch(36.2% 0.125 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a6ca4',
    500: '#21367e',
    950: '#000000',
  },
}
SCSS
$custom: #21367e;
$custom-light: #6a6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#21367e",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 226.452,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36167,
    "c": 0.12477,
    "h": 267.5
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#21367E
secondary
#B19A4A
accent
#BF46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #21367E

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

Preview Lab → · Contrast checker → · Palette generator →

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