#212359#212359

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

Color values

HEX#212359
RGBrgb(33, 35, 89)
HSLhsl(238, 46%, 24%)
HSVhsv(238, 63%, 35%)
CMYKcmyk(62.9%, 60.7%, 0%, 65.1%)
CIE-LABlab(16.73, 17.47, -32.96)
CIE-LCHlch(16.73, 37.31, 297.93°)
OKLaboklab(28.91% 0.0117 -0.0945)
OKLCHoklch(28.91% 0.095 277)
XYZxyz(3.0308, 2.2464, 9.7232)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212359 #595721
analogous
#213F59 #212359 #3B2159
triadic
#212359 #592123 #235921
tetradic
#212359 #59213F #595721 #21593B
square
#212359 #59213F #595721 #21593B
split-complementary
#212359 #593B21 #3F5921
monochromatic
#080916 #10112C #212359 #323586 #4246B2

Accessibility & contrast

On white

14.49
#212359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#212359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212359
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212359#FFFFFF#000000##FFFFFF
##2123591.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212359;
/* rgb */ color: rgb(33, 35, 89);
/* oklch */ color: oklch(28.9% 0.095 277.0);
Tailwind
colors: {
  custom: {
    50: '#635d88',
    500: '#212359',
    950: '#000000',
  },
}
SCSS
$custom: #212359;
$custom-light: #635d88;
$custom-dark: #000000;
JSON
{
  "hex": "#212359",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 89
  },
  "hsl": {
    "h": 237.857,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28912,
    "c": 0.09527,
    "h": 277
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#212359
secondary
#8D8B49
accent
#D152D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #212359

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

Preview Lab → · Contrast checker → · Palette generator →

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