#21366F#21366F

#21366F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.102 H 266.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#21366F
RGBrgb(33, 54, 111)
HSLhsl(224, 54%, 28%)
HSVhsv(224, 70%, 44%)
CMYKcmyk(70.3%, 51.4%, 0%, 56.5%)
CIE-LABlab(24.03, 12.47, -35.58)
CIE-LCHlch(24.03, 37.70, 289.31°)
OKLaboklab(34.95% -0.007 -0.102)
OKLCHoklch(34.95% 0.102 266.1)
XYZxyz(4.8146, 4.1089, 15.5752)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21366F #6F5A21
analogous
#215D6F #21366F #33216F
triadic
#21366F #6F2136 #366F21
tetradic
#21366F #6F215D #6F5A21 #216F33
square
#21366F #6F215D #6F5A21 #216F33
split-complementary
#21366F #6F3321 #5D6F21
monochromatic
#070B18 #131F40 #21366F #2F4D9E #4367C7

Accessibility & contrast

On white

11.53
#21366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#21366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21366F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21366F#FFFFFF#000000##FFFFFF
##21366F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #21366f;
/* rgb */ color: rgb(33, 54, 111);
/* oklch */ color: oklch(34.9% 0.102 266.1);
Tailwind
colors: {
  custom: {
    50: '#666c99',
    500: '#21366f',
    950: '#000000',
  },
}
SCSS
$custom: #21366f;
$custom-light: #666c99;
$custom-dark: #000000;
JSON
{
  "hex": "#21366f",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 223.846,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.10223,
    "h": 266.1
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#21366F
secondary
#A38B49
accent
#B64ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #21366F

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

Preview Lab → · Contrast checker → · Palette generator →

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