#212483#212483

#212483 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.155 H 272.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#212483
RGBrgb(33, 36, 131)
HSLhsl(238, 60%, 32%)
HSVhsv(238, 75%, 51%)
CMYKcmyk(74.8%, 72.5%, 0%, 48.6%)
CIE-LABlab(20.92, 32.54, -53.37)
CIE-LCHlch(20.92, 62.51, 301.37°)
OKLaboklab(33.18% 0.0076 -0.1544)
OKLCHoklch(33.18% 0.155 272.8)
XYZxyz(5.3534, 3.2232, 21.8083)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212483 #838021
analogous
#215583 #212483 #4F2183
triadic
#212483 #832124 #248321
tetradic
#212483 #832155 #838021 #21834F
square
#212483 #832155 #838021 #21834F
split-complementary
#212483 #834F21 #558321
monochromatic
#080921 #151752 #212483 #2D31B4 #4C50D2

Accessibility & contrast

On white

12.77
#212483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212483
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212483#FFFFFF#000000##FFFFFF
##2124831.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212483;
/* rgb */ color: rgb(33, 36, 131);
/* oklch */ color: oklch(33.2% 0.155 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d5fa8',
    500: '#212483',
    950: '#000000',
  },
}
SCSS
$custom: #212483;
$custom-light: #6d5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#212483",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 238.163,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.15456,
    "h": 272.8
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #212483

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

Preview Lab → · Contrast checker → · Palette generator →

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