#212085#212085

#212085 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.162 H 273.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#212085
RGBrgb(33, 32, 133)
HSLhsl(241, 61%, 32%)
HSVhsv(241, 76%, 52%)
CMYKcmyk(75.2%, 75.9%, 0%, 47.8%)
CIE-LABlab(20.24, 35.72, -55.74)
CIE-LCHlch(20.24, 66.21, 302.65°)
OKLaboklab(32.76% 0.0095 -0.1613)
OKLCHoklch(32.76% 0.162 273.4)
XYZxyz(5.3759, 3.0493, 22.4910)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212085 #848520
analogous
#205285 #212085 #542085
triadic
#212085 #852120 #208521
tetradic
#212085 #852052 #848520 #208554
square
#212085 #852052 #848520 #208554
split-complementary
#212085 #855420 #528520
monochromatic
#090822 #151454 #212085 #2D2CB6 #4D4CD4

Accessibility & contrast

On white

13.04
#212085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#212085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212085
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212085#FFFFFF#000000##FFFFFF
##2120851.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #212085;
/* rgb */ color: rgb(33, 32, 133);
/* oklch */ color: oklch(32.8% 0.162 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e5daa',
    500: '#212085',
    950: '#000000',
  },
}
SCSS
$custom: #212085;
$custom-light: #6e5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#212085",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 240.594,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.16155,
    "h": 273.4
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#212085
secondary
#B6B74A
accent
#E443E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212085

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

Preview Lab → · Contrast checker → · Palette generator →

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