#21367A#21367A

#21367A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.119 H 267.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#21367A
RGBrgb(33, 54, 122)
HSLhsl(226, 57%, 30%)
HSVhsv(226, 73%, 48%)
CMYKcmyk(73%, 55.7%, 0%, 52.2%)
CIE-LABlab(24.85, 16.84, -41.26)
CIE-LCHlch(24.85, 44.57, 292.19°)
OKLaboklab(35.83% -0.0058 -0.1187)
OKLCHoklch(35.83% 0.119 267.2)
XYZxyz(5.4580, 4.3663, 18.9637)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21367A #7A6521
analogous
#21627A #21367A #39217A
triadic
#21367A #7A2136 #367A21
tetradic
#21367A #7A2162 #7A6521 #217A39
square
#21367A #7A2162 #7A6521 #217A39
split-complementary
#21367A #7A3921 #627A21
monochromatic
#070B1A #14214A #21367A #2E4BAA #4867CD

Accessibility & contrast

On white

11.21
#21367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#21367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21367A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21367A#FFFFFF#000000##FFFFFF
##21367A1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #21367a;
/* rgb */ color: rgb(33, 54, 122);
/* oklch */ color: oklch(35.8% 0.119 267.2);
Tailwind
colors: {
  custom: {
    50: '#696ca1',
    500: '#21367a',
    950: '#000000',
  },
}
SCSS
$custom: #21367a;
$custom-light: #696ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#21367a",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 225.843,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35832,
    "c": 0.11885,
    "h": 267.2
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#21367A
secondary
#AD964A
accent
#BC47E1
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #21367A

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

Preview Lab → · Contrast checker → · Palette generator →

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