#212583#212583

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

Color values

HEX#212583
RGBrgb(33, 37, 131)
HSLhsl(238, 60%, 32%)
HSVhsv(238, 75%, 51%)
CMYKcmyk(74.8%, 71.8%, 0%, 48.6%)
CIE-LABlab(21.15, 31.90, -52.99)
CIE-LCHlch(21.15, 61.85, 301.05°)
OKLaboklab(33.35% 0.007 -0.1532)
OKLCHoklch(33.35% 0.153 272.6)
XYZxyz(5.3841, 3.2846, 21.8186)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212583 #837F21
analogous
#215683 #212583 #4E2183
triadic
#212583 #832125 #258321
tetradic
#212583 #832156 #837F21 #21834E
square
#212583 #832156 #837F21 #21834E
split-complementary
#212583 #834E21 #568321
monochromatic
#080921 #151752 #212583 #2D33B4 #4C52D2

Accessibility & contrast

On white

12.67
#212583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#212583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212583
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212583#FFFFFF#000000##FFFFFF
##2125831.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212583;
/* rgb */ color: rgb(33, 37, 131);
/* oklch */ color: oklch(33.3% 0.153 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d60a8',
    500: '#212583',
    950: '#000000',
  },
}
SCSS
$custom: #212583;
$custom-light: #6d60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#212583",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 237.551,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33349,
    "c": 0.15341,
    "h": 272.6
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#212583
secondary
#B5B14B
accent
#DC45E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #212583

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

Preview Lab → · Contrast checker → · Palette generator →

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