#212083#212083

#212083 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.159 H 273.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#212083
RGBrgb(33, 32, 131)
HSLhsl(241, 61%, 32%)
HSVhsv(241, 76%, 51%)
CMYKcmyk(74.8%, 75.6%, 0%, 48.6%)
CIE-LABlab(20.02, 35.02, -54.84)
CIE-LCHlch(20.02, 65.07, 302.56°)
OKLaboklab(32.54% 0.0098 -0.1587)
OKLCHoklch(32.54% 0.159 273.5)
XYZxyz(5.2391, 2.9945, 21.7702)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212083 #828320
analogous
#205183 #212083 #532083
triadic
#212083 #832120 #208321
tetradic
#212083 #832051 #828320 #208353
square
#212083 #832051 #828320 #208353
split-complementary
#212083 #835320 #518320
monochromatic
#080821 #151452 #212083 #2D2CB4 #4C4AD3

Accessibility & contrast

On white

13.13
#212083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#212083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212083
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212083#FFFFFF#000000##FFFFFF
##2120831.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212083;
/* rgb */ color: rgb(33, 32, 131);
/* oklch */ color: oklch(32.5% 0.159 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d5da8',
    500: '#212083',
    950: '#000000',
  },
}
SCSS
$custom: #212083;
$custom-light: #6d5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#212083",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 240.606,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32542,
    "c": 0.15895,
    "h": 273.5
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#212083
secondary
#B4B649
accent
#E444E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212083

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

Preview Lab → · Contrast checker → · Palette generator →

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