#212380#212380

#212380 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.152 H 273.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#212380
RGBrgb(33, 35, 128)
HSLhsl(239, 59%, 32%)
HSVhsv(239, 74%, 50%)
CMYKcmyk(74.2%, 72.7%, 0%, 49.8%)
CIE-LABlab(20.37, 32.09, -52.36)
CIE-LCHlch(20.37, 61.41, 301.50°)
OKLaboklab(32.7% 0.0086 -0.1514)
OKLCHoklch(32.7% 0.152 273.3)
XYZxyz(5.1232, 3.0834, 20.7430)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212380 #807E21
analogous
#215380 #212380 #4F2180
triadic
#212380 #802123 #238021
tetradic
#212380 #802153 #807E21 #21804F
square
#212380 #802153 #807E21 #21804F
split-complementary
#212380 #804F21 #538021
monochromatic
#08081F #14164F #212380 #2E30B1 #4B4ED1

Accessibility & contrast

On white

12.99
#212380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#212380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212380
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212380#FFFFFF#000000##FFFFFF
##2123801.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #212380;
/* rgb */ color: rgb(33, 35, 128);
/* oklch */ color: oklch(32.7% 0.152 273.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ea6',
    500: '#212380',
    950: '#000000',
  },
}
SCSS
$custom: #212380;
$custom-light: #6c5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#212380",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 238.737,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32698,
    "c": 0.15169,
    "h": 273.3
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#212380
secondary
#B3B04A
accent
#DF46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #212380

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

Preview Lab → · Contrast checker → · Palette generator →

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