#21346B#21346B

#21346B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.099 H 266.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#21346B
RGBrgb(33, 52, 107)
HSLhsl(225, 53%, 27%)
HSVhsv(225, 69%, 42%)
CMYKcmyk(69.2%, 51.4%, 0%, 58%)
CIE-LABlab(23.14, 12.30, -34.45)
CIE-LCHlch(23.14, 36.58, 289.65°)
OKLaboklab(34.18% -0.0055 -0.0987)
OKLCHoklch(34.18% 0.099 266.8)
XYZxyz(4.5081, 3.8404, 14.4108)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21346B #6B5821
analogous
#21596B #21346B #33216B
triadic
#21346B #6B2134 #346B21
tetradic
#21346B #6B2159 #6B5821 #216B33
square
#21346B #6B2159 #6B5821 #216B33
split-complementary
#21346B #6B3321 #596B21
monochromatic
#070B17 #131D3C #21346B #2F4B9A #4263C5

Accessibility & contrast

On white

11.88
#21346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#21346B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21346B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21346B#FFFFFF#000000##FFFFFF
##21346B1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173B6D
Deuteranopia (green-blind)
#05346A
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #21346b;
/* rgb */ color: rgb(33, 52, 107);
/* oklch */ color: oklch(34.2% 0.099 266.8);
Tailwind
colors: {
  custom: {
    50: '#656b96',
    500: '#21346b',
    950: '#000000',
  },
}
SCSS
$custom: #21346b;
$custom-light: #656b96;
$custom-dark: #000000;
JSON
{
  "hex": "#21346b",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 224.595,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34179,
    "c": 0.09883,
    "h": 266.8
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#21346B
secondary
#9F8949
accent
#B74CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #21346B

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

Preview Lab → · Contrast checker → · Palette generator →

#21346B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva