#212484#212484

#212484 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.156 H 272.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#212484
RGBrgb(33, 36, 132)
HSLhsl(238, 60%, 32%)
HSVhsv(238, 75%, 52%)
CMYKcmyk(75%, 72.7%, 0%, 48.2%)
CIE-LABlab(21.02, 32.90, -53.83)
CIE-LCHlch(21.02, 63.09, 301.43°)
OKLaboklab(33.29% 0.0074 -0.1557)
OKLCHoklch(33.29% 0.156 272.7)
XYZxyz(5.4215, 3.2505, 22.1670)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212484 #848121
analogous
#215584 #212484 #502184
triadic
#212484 #842124 #248421
tetradic
#212484 #842155 #848121 #218450
square
#212484 #842155 #848121 #218450
split-complementary
#212484 #845021 #558421
monochromatic
#090922 #151753 #212484 #2D31B5 #4D51D2

Accessibility & contrast

On white

12.73
#212484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#212484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212484
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212484#FFFFFF#000000##FFFFFF
##2124841.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212484;
/* rgb */ color: rgb(33, 36, 132);
/* oklch */ color: oklch(33.3% 0.156 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d5fa9',
    500: '#212484',
    950: '#000000',
  },
}
SCSS
$custom: #212484;
$custom-light: #6d5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#212484",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 238.182,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33287,
    "c": 0.15589,
    "h": 272.7
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#212484
secondary
#B6B24B
accent
#DE45E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212484

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

Preview Lab → · Contrast checker → · Palette generator →

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