#21346C#21346C

#21346C is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.100 H 266.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#21346C
RGBrgb(33, 52, 108)
HSLhsl(225, 53%, 28%)
HSVhsv(225, 69%, 42%)
CMYKcmyk(69.4%, 51.9%, 0%, 57.6%)
CIE-LABlab(23.21, 12.69, -34.97)
CIE-LCHlch(23.21, 37.21, 289.95°)
OKLaboklab(34.26% -0.0054 -0.1002)
OKLCHoklch(34.26% 0.1 266.9)
XYZxyz(4.5610, 3.8616, 14.6894)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21346C #6C5921
analogous
#21596C #21346C #34216C
triadic
#21346C #6C2134 #346C21
tetradic
#21346C #6C2159 #6C5921 #216C34
square
#21346C #6C2159 #6C5921 #216C34
split-complementary
#21346C #6C3421 #596C21
monochromatic
#070B17 #131D3D #21346C #2F4B9B #4263C5

Accessibility & contrast

On white

11.85
#21346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21346C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21346C#FFFFFF#000000##FFFFFF
##21346C1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6E
Deuteranopia (green-blind)
#03346B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #21346c;
/* rgb */ color: rgb(33, 52, 108);
/* oklch */ color: oklch(34.3% 0.100 266.9);
Tailwind
colors: {
  custom: {
    50: '#666b96',
    500: '#21346c',
    950: '#000000',
  },
}
SCSS
$custom: #21346c;
$custom-light: #666b96;
$custom-dark: #000000;
JSON
{
  "hex": "#21346c",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 224.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34256,
    "c": 0.10038,
    "h": 266.9
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#21346C
secondary
#A08A49
accent
#B84BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #21346C

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

Preview Lab → · Contrast checker → · Palette generator →

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