#212466#212466

#212466 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.3% C 0.114 H 275.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#212466
RGBrgb(33, 36, 102)
HSLhsl(237, 51%, 26%)
HSVhsv(237, 68%, 40%)
CMYKcmyk(67.6%, 64.7%, 0%, 60%)
CIE-LABlab(18.12, 21.72, -39.32)
CIE-LCHlch(18.12, 44.92, 298.92°)
OKLaboklab(30.29% 0.0105 -0.1132)
OKLCHoklch(30.29% 0.114 275.3)
XYZxyz(3.6556, 2.5441, 12.8662)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212466 #666321
analogous
#214766 #212466 #412166
triadic
#212466 #662124 #246621
tetradic
#212466 #662147 #666321 #216641
square
#212466 #662147 #666321 #216641
split-complementary
#212466 #664121 #476621
monochromatic
#070817 #121438 #212466 #303494 #4046C1

Accessibility & contrast

On white

13.92
#212466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#212466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212466
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212466#FFFFFF#000000##FFFFFF
##2124661.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212466;
/* rgb */ color: rgb(33, 36, 102);
/* oklch */ color: oklch(30.3% 0.114 275.3);
Tailwind
colors: {
  custom: {
    50: '#655e92',
    500: '#212466',
    950: '#000000',
  },
}
SCSS
$custom: #212466;
$custom-light: #655e92;
$custom-dark: #000000;
JSON
{
  "hex": "#212466",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 102
  },
  "hsl": {
    "h": 237.391,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30287,
    "c": 0.11371,
    "h": 275.3
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#212466
secondary
#9A9649
accent
#D44DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212466

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

Preview Lab → · Contrast checker → · Palette generator →

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