#21356F#21356F

#21356F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.104 H 266.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#21356F
RGBrgb(33, 53, 111)
HSLhsl(225, 54%, 28%)
HSVhsv(225, 70%, 44%)
CMYKcmyk(70.3%, 52.3%, 0%, 56.5%)
CIE-LABlab(23.73, 13.17, -36.07)
CIE-LCHlch(23.73, 38.40, 290.07°)
OKLaboklab(34.72% -0.006 -0.1034)
OKLCHoklch(34.72% 0.104 266.7)
XYZxyz(4.7686, 4.0168, 15.5599)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21356F #6F5B21
analogous
#215C6F #21356F #34216F
triadic
#21356F #6F2135 #356F21
tetradic
#21356F #6F215C #6F5B21 #216F34
square
#21356F #6F215C #6F5B21 #216F34
split-complementary
#21356F #6F3421 #5C6F21
monochromatic
#070B18 #131E40 #21356F #2F4C9E #4365C7

Accessibility & contrast

On white

11.64
#21356F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#21356F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21356F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21356F#FFFFFF#000000##FFFFFF
##21356F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21356f;
/* rgb */ color: rgb(33, 53, 111);
/* oklch */ color: oklch(34.7% 0.104 266.7);
Tailwind
colors: {
  custom: {
    50: '#666b99',
    500: '#21356f',
    950: '#000000',
  },
}
SCSS
$custom: #21356f;
$custom-light: #666b99;
$custom-dark: #000000;
JSON
{
  "hex": "#21356f",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 111
  },
  "hsl": {
    "h": 224.615,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3472,
    "c": 0.10361,
    "h": 266.7
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#21356F
secondary
#A38C49
accent
#B84ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #21356F

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

Preview Lab → · Contrast checker → · Palette generator →

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