#212065#212065

#212065 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.4% C 0.118 H 277.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#212065
RGBrgb(33, 32, 101)
HSLhsl(241, 52%, 26%)
HSVhsv(241, 68%, 40%)
CMYKcmyk(67.3%, 68.3%, 0%, 60.4%)
CIE-LABlab(16.97, 24.11, -40.54)
CIE-LCHlch(16.97, 47.17, 300.75°)
OKLaboklab(29.42% 0.0143 -0.1168)
OKLCHoklch(29.42% 0.118 277)
XYZxyz(3.4919, 2.2957, 12.5685)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212065 #646520
analogous
#204165 #212065 #432065
triadic
#212065 #652120 #206521
tetradic
#212065 #652041 #646520 #206543
square
#212065 #652041 #646520 #206543
split-complementary
#212065 #654320 #416520
monochromatic
#080717 #121137 #212065 #302F93 #403EC2

Accessibility & contrast

On white

14.39
#212065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#212065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212065
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212065#FFFFFF#000000##FFFFFF
##2120651.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #212065;
/* rgb */ color: rgb(33, 32, 101);
/* oklch */ color: oklch(29.4% 0.118 277.0);
Tailwind
colors: {
  custom: {
    50: '#665b92',
    500: '#212065',
    950: '#000000',
  },
}
SCSS
$custom: #212065;
$custom-light: #665b92;
$custom-dark: #000000;
JSON
{
  "hex": "#212065",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 240.87,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29416,
    "c": 0.11771,
    "h": 277
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#212065
secondary
#989948
accent
#DB4CD9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212065

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

Preview Lab → · Contrast checker → · Palette generator →

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