#21344F#21344F

#21344F is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.2% C 0.054 H 257.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#21344F
RGBrgb(33, 52, 79)
HSLhsl(215, 41%, 22%)
HSVhsv(215, 58%, 31%)
CMYKcmyk(58.2%, 34.2%, 0%, 69%)
CIE-LABlab(21.37, 1.47, -18.88)
CIE-LCHlch(21.37, 18.93, 274.46°)
OKLaboklab(32.24% -0.012 -0.0531)
OKLCHoklch(32.24% 0.054 257.2)
XYZxyz(3.2660, 3.3436, 7.8689)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21344F #4F3C21
analogous
#214B4F #21344F #25214F
triadic
#21344F #4F2134 #344F21
tetradic
#21344F #4F214B #4F3C21 #214F25
square
#21344F #4F214B #4F3C21 #214F25
split-complementary
#21344F #4F2521 #4B4F21
monochromatic
#090E16 #0F1824 #21344F #33507A #456DA5

Accessibility & contrast

On white

12.58
#21344F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#21344F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21344F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21344F#FFFFFF#000000##FFFFFF
##21344F1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#24314E
Tritanopia (blue-blind)
#083A3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #21344f;
/* rgb */ color: rgb(33, 52, 79);
/* oklch */ color: oklch(32.2% 0.054 257.2);
Tailwind
colors: {
  custom: {
    50: '#606b80',
    500: '#21344f',
    950: '#000000',
  },
}
SCSS
$custom: #21344f;
$custom-light: #606b80;
$custom-dark: #000000;
JSON
{
  "hex": "#21344f",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 79
  },
  "hsl": {
    "h": 215.217,
    "s": 41.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32243,
    "c": 0.05445,
    "h": 257.2
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#21344F
secondary
#836B49
accent
#9F57D1
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #21344F

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

Preview Lab → · Contrast checker → · Palette generator →

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