#21346F#21346F

#21346F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.105 H 267.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#21346F
RGBrgb(33, 52, 111)
HSLhsl(225, 54%, 28%)
HSVhsv(225, 70%, 44%)
CMYKcmyk(70.3%, 53.2%, 0%, 56.5%)
CIE-LABlab(23.43, 13.88, -36.55)
CIE-LCHlch(23.43, 39.10, 290.80°)
OKLaboklab(34.49% -0.005 -0.1049)
OKLCHoklch(34.49% 0.105 267.3)
XYZxyz(4.7234, 3.9266, 15.5448)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21346F #6F5C21
analogous
#215B6F #21346F #35216F
triadic
#21346F #6F2134 #346F21
tetradic
#21346F #6F215B #6F5C21 #216F35
square
#21346F #6F215B #6F5C21 #216F35
split-complementary
#21346F #6F3521 #5B6F21
monochromatic
#070B18 #131E40 #21346F #2F4A9E #4363C7

Accessibility & contrast

On white

11.76
#21346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#21346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21346F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21346F#FFFFFF#000000##FFFFFF
##21346F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21346f;
/* rgb */ color: rgb(33, 52, 111);
/* oklch */ color: oklch(34.5% 0.105 267.3);
Tailwind
colors: {
  custom: {
    50: '#666b99',
    500: '#21346f',
    950: '#000000',
  },
}
SCSS
$custom: #21346f;
$custom-light: #666b99;
$custom-dark: #000000;
JSON
{
  "hex": "#21346f",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 225.385,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34493,
    "c": 0.105,
    "h": 267.3
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#21346F
secondary
#A38D49
accent
#BA4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #21346F

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

Preview Lab → · Contrast checker → · Palette generator →

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