#212385#212385

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

Color values

HEX#212385
RGBrgb(33, 35, 133)
HSLhsl(239, 60%, 33%)
HSVhsv(239, 75%, 52%)
CMYKcmyk(75.2%, 73.7%, 0%, 47.8%)
CIE-LABlab(20.90, 33.89, -54.66)
CIE-LCHlch(20.90, 64.31, 301.80°)
OKLaboklab(33.23% 0.0078 -0.1581)
OKLCHoklch(33.23% 0.158 272.8)
XYZxyz(5.4604, 3.2183, 22.5192)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212385 #858321
analogous
#215585 #212385 #512185
triadic
#212385 #852123 #238521
tetradic
#212385 #852155 #858321 #218551
square
#212385 #852155 #858321 #218551
split-complementary
#212385 #855121 #558521
monochromatic
#090923 #151654 #212385 #2D30B6 #4D50D3

Accessibility & contrast

On white

12.78
#212385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212385
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212385#FFFFFF#000000##FFFFFF
##2123851.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212385;
/* rgb */ color: rgb(33, 35, 133);
/* oklch */ color: oklch(33.2% 0.158 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d5faa',
    500: '#212385',
    950: '#000000',
  },
}
SCSS
$custom: #212385;
$custom-light: #6d5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#212385",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 238.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33231,
    "c": 0.15832,
    "h": 272.8
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#212385
secondary
#B6B44C
accent
#E044E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212385

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

Preview Lab → · Contrast checker → · Palette generator →

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