#21346E#21346E

#21346E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.103 H 267.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#21346E
RGBrgb(33, 52, 110)
HSLhsl(225, 54%, 28%)
HSVhsv(225, 70%, 43%)
CMYKcmyk(70%, 52.7%, 0%, 56.9%)
CIE-LABlab(23.35, 13.49, -36.03)
CIE-LCHlch(23.35, 38.47, 290.52°)
OKLaboklab(34.41% -0.0051 -0.1033)
OKLCHoklch(34.41% 0.103 267.2)
XYZxyz(4.6687, 3.9047, 15.2565)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21346E #6E5B21
analogous
#215A6E #21346E #34216E
triadic
#21346E #6E2134 #346E21
tetradic
#21346E #6E215A #6E5B21 #216E34
square
#21346E #6E215A #6E5B21 #216E34
split-complementary
#21346E #6E3421 #5A6E21
monochromatic
#070B18 #131E3F #21346E #2F4A9D #4363C7

Accessibility & contrast

On white

11.79
#21346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#21346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21346E
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21346E#FFFFFF#000000##FFFFFF
##21346E1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21346e;
/* rgb */ color: rgb(33, 52, 110);
/* oklch */ color: oklch(34.4% 0.103 267.2);
Tailwind
colors: {
  custom: {
    50: '#666b98',
    500: '#21346e',
    950: '#000000',
  },
}
SCSS
$custom: #21346e;
$custom-light: #666b98;
$custom-dark: #000000;
JSON
{
  "hex": "#21346e",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 225.195,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34413,
    "c": 0.10347,
    "h": 267.2
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#21346E
secondary
#A28C49
accent
#B94BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #21346E

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

Preview Lab → · Contrast checker → · Palette generator →

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