#21355E#21355E

#21355E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.5% C 0.077 H 263.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#21355E
RGBrgb(33, 53, 94)
HSLhsl(220, 48%, 25%)
HSVhsv(220, 65%, 37%)
CMYKcmyk(64.9%, 43.6%, 0%, 63.1%)
CIE-LABlab(22.57, 6.48, -26.89)
CIE-LCHlch(22.57, 27.66, 283.55°)
OKLaboklab(33.47% -0.0091 -0.0765)
OKLCHoklch(33.47% 0.077 263.2)
XYZxyz(3.9200, 3.6774, 11.0907)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21355E #5E4A21
analogous
#21535E #21355E #2C215E
triadic
#21355E #5E2135 #355E21
tetradic
#21355E #5E2153 #5E4A21 #215E2C
square
#21355E #5E2153 #5E4A21 #215E2C
split-complementary
#21355E #5E2C21 #535E21
monochromatic
#080D17 #111B31 #21355E #314F8B #4168B9

Accessibility & contrast

On white

12.10
#21355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#21355E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21355E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21355E#FFFFFF#000000##FFFFFF
##21355E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#1B335D
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #21355e;
/* rgb */ color: rgb(33, 53, 94);
/* oklch */ color: oklch(33.5% 0.077 263.2);
Tailwind
colors: {
  custom: {
    50: '#636b8c',
    500: '#21355e',
    950: '#000000',
  },
}
SCSS
$custom: #21355e;
$custom-light: #636b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#21355e",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 220.328,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33466,
    "c": 0.07702,
    "h": 263.2
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#21355E
secondary
#927A49
accent
#AB50D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #21355E

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

Preview Lab → · Contrast checker → · Palette generator →

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