#212353#212353

#212353 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.086 H 277.6°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#212353
RGBrgb(33, 35, 83)
HSLhsl(238, 43%, 23%)
HSVhsv(238, 60%, 33%)
CMYKcmyk(60.2%, 57.8%, 0%, 67.5%)
CIE-LABlab(16.25, 15.20, -29.70)
CIE-LCHlch(16.25, 33.36, 297.10°)
OKLaboklab(28.4% 0.0114 -0.0849)
OKLCHoklch(28.4% 0.086 277.6)
XYZxyz(2.7891, 2.1497, 8.4499)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212353 #535121
analogous
#213C53 #212353 #382153
triadic
#212353 #532123 #235321
tetradic
#212353 #53213C #535121 #215338
square
#212353 #53213C #535121 #215338
split-complementary
#212353 #533821 #3C5321
monochromatic
#090916 #101127 #212353 #32357F #4448AB

Accessibility & contrast

On white

14.69
#212353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#212353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212353
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212353#FFFFFF#000000##FFFFFF
##2123531.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A55
Deuteranopia (green-blind)
#012652
Tritanopia (blue-blind)
#082E37
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212353;
/* rgb */ color: rgb(33, 35, 83);
/* oklch */ color: oklch(28.4% 0.086 277.6);
Tailwind
colors: {
  custom: {
    50: '#615d84',
    500: '#212353',
    950: '#000000',
  },
}
SCSS
$custom: #212353;
$custom-light: #615d84;
$custom-dark: #000000;
JSON
{
  "hex": "#212353",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 83
  },
  "hsl": {
    "h": 237.6,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28404,
    "c": 0.0857,
    "h": 277.6
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#212353
secondary
#878549
accent
#CE55D3
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #212353

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

Preview Lab → · Contrast checker → · Palette generator →

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