#212482#212482

#212482 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.153 H 272.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#212482
RGBrgb(33, 36, 130)
HSLhsl(238, 60%, 32%)
HSVhsv(238, 75%, 51%)
CMYKcmyk(74.6%, 72.3%, 0%, 49%)
CIE-LABlab(20.81, 32.17, -52.91)
CIE-LCHlch(20.81, 61.92, 301.31°)
OKLaboklab(33.08% 0.0077 -0.153)
OKLCHoklch(33.08% 0.153 272.9)
XYZxyz(5.2860, 3.1963, 21.4531)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212482 #827F21
analogous
#215582 #212482 #4F2182
triadic
#212482 #822124 #248221
tetradic
#212482 #822155 #827F21 #21824F
square
#212482 #822155 #827F21 #21824F
split-complementary
#212482 #824F21 #558221
monochromatic
#080920 #151651 #212482 #2D32B3 #4C50D2

Accessibility & contrast

On white

12.81
#212482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#212482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212482
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212482#FFFFFF#000000##FFFFFF
##2124821.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212482;
/* rgb */ color: rgb(33, 36, 130);
/* oklch */ color: oklch(33.1% 0.153 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c5fa7',
    500: '#212482',
    950: '#000000',
  },
}
SCSS
$custom: #212482;
$custom-light: #6c5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#212482",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 238.144,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.15321,
    "h": 272.9
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #212482

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

Preview Lab → · Contrast checker → · Palette generator →

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