#212060#212060

#212060 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.110 H 277.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#212060
RGBrgb(33, 32, 96)
HSLhsl(241, 50%, 25%)
HSVhsv(241, 67%, 38%)
CMYKcmyk(65.6%, 66.7%, 0%, 62.4%)
CIE-LABlab(16.51, 22.25, -37.99)
CIE-LCHlch(16.51, 44.02, 300.35°)
OKLaboklab(28.94% 0.0147 -0.1093)
OKLCHoklch(28.94% 0.11 277.7)
XYZxyz(3.2544, 2.2006, 11.3173)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212060 #5F6020
analogous
#203F60 #212060 #412060
triadic
#212060 #602120 #206021
tetradic
#212060 #60203F #5F6020 #206041
square
#212060 #60203F #5F6020 #206041
split-complementary
#212060 #604120 #3F6020
monochromatic
#080817 #111132 #212060 #312F8E #413FBC

Accessibility & contrast

On white

14.58
#212060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#212060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212060
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212060#FFFFFF#000000##FFFFFF
##2120601.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212060;
/* rgb */ color: rgb(33, 32, 96);
/* oklch */ color: oklch(28.9% 0.110 277.7);
Tailwind
colors: {
  custom: {
    50: '#645b8e',
    500: '#212060',
    950: '#000000',
  },
}
SCSS
$custom: #212060;
$custom-light: #645b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#212060",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 240.938,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28936,
    "c": 0.11034,
    "h": 277.7
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#212060
secondary
#939447
accent
#DA4ED7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #212060

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

Preview Lab → · Contrast checker → · Palette generator →

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