#213284#213284

#213284 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.139 H 269.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#213284
RGBrgb(33, 50, 132)
HSLhsl(230, 60%, 32%)
HSVhsv(230, 75%, 52%)
CMYKcmyk(75%, 62.1%, 0%, 48.2%)
CIE-LABlab(24.54, 23.56, -48.05)
CIE-LCHlch(24.54, 53.52, 296.12°)
OKLaboklab(35.86% -0.0021 -0.1387)
OKLCHoklch(35.86% 0.139 269.1)
XYZxyz(5.9312, 4.2699, 22.3369)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213284 #847321
analogous
#216484 #213284 #422184
triadic
#213284 #842132 #328421
tetradic
#213284 #842164 #847321 #218442
square
#213284 #842164 #847321 #218442
split-complementary
#213284 #844221 #648421
monochromatic
#090D22 #151F53 #213284 #2D45B5 #4D64D2

Accessibility & contrast

On white

11.33
#213284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#213284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213284
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213284#FFFFFF#000000##FFFFFF
##2132841.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213284;
/* rgb */ color: rgb(33, 50, 132);
/* oklch */ color: oklch(35.9% 0.139 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c69a9',
    500: '#213284',
    950: '#000000',
  },
}
SCSS
$custom: #213284;
$custom-light: #6c69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#213284",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 229.697,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35863,
    "c": 0.13874,
    "h": 269.1
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#213284
secondary
#B6A34B
accent
#C845E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213284

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

Preview Lab → · Contrast checker → · Palette generator →

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