#213259#213259

#213259 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.073 H 264.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#213259
RGBrgb(33, 50, 89)
HSLhsl(222, 46%, 24%)
HSVhsv(222, 63%, 35%)
CMYKcmyk(62.9%, 43.8%, 0%, 65.1%)
CIE-LABlab(21.30, 6.67, -25.63)
CIE-LCHlch(21.30, 26.48, 284.58°)
OKLaboklab(32.38% -0.0065 -0.0728)
OKLCHoklch(32.38% 0.073 264.9)
XYZxyz(3.5704, 3.3255, 9.9030)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213259 #594821
analogous
#214E59 #213259 #2C2159
triadic
#213259 #592132 #325921
tetradic
#213259 #59214E #594821 #21592C
square
#213259 #59214E #594821 #21592C
split-complementary
#213259 #592C21 #4E5921
monochromatic
#080D16 #10192C #213259 #324B86 #4264B2

Accessibility & contrast

On white

12.61
#213259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213259
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213259#FFFFFF#000000##FFFFFF
##2132591.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365B
Deuteranopia (green-blind)
#1A3158
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213259;
/* rgb */ color: rgb(33, 50, 89);
/* oklch */ color: oklch(32.4% 0.073 264.9);
Tailwind
colors: {
  custom: {
    50: '#626988',
    500: '#213259',
    950: '#000000',
  },
}
SCSS
$custom: #213259;
$custom-light: #626988;
$custom-dark: #000000;
JSON
{
  "hex": "#213259",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 221.786,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32382,
    "c": 0.0731,
    "h": 264.9
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#213259
secondary
#8D7849
accent
#AE52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #213259

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

Preview Lab → · Contrast checker → · Palette generator →

#213259 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva