#21367D#21367D

#21367D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.123 H 267.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#21367D
RGBrgb(33, 54, 125)
HSLhsl(226, 58%, 31%)
HSVhsv(226, 74%, 49%)
CMYKcmyk(73.6%, 56.8%, 0%, 51%)
CIE-LABlab(25.08, 18.03, -42.78)
CIE-LCHlch(25.08, 46.42, 292.85°)
OKLaboklab(36.08% -0.0056 -0.1232)
OKLCHoklch(36.08% 0.123 267.4)
XYZxyz(5.6468, 4.4418, 19.9578)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21367D #7D6821
analogous
#21647D #21367D #3A217D
triadic
#21367D #7D2136 #367D21
tetradic
#21367D #7D2164 #7D6821 #217D3A
square
#21367D #7D2164 #7D6821 #217D3A
split-complementary
#21367D #7D3A21 #647D21
monochromatic
#070C1C #14214D #21367D #2E4BAD #4968CF

Accessibility & contrast

On white

11.12
#21367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21367D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21367D#FFFFFF#000000##FFFFFF
##21367D1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #21367d;
/* rgb */ color: rgb(33, 54, 125);
/* oklch */ color: oklch(36.1% 0.123 267.4);
Tailwind
colors: {
  custom: {
    50: '#6a6ca3',
    500: '#21367d',
    950: '#000000',
  },
}
SCSS
$custom: #21367d;
$custom-light: #6a6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#21367d",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 226.304,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.1233,
    "h": 267.4
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#21367D
secondary
#B0994A
accent
#BE46E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #21367D

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

Preview Lab → · Contrast checker → · Palette generator →

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