#212643#212643

#212643 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.9% C 0.054 H 275.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#212643
RGBrgb(33, 38, 67)
HSLhsl(231, 34%, 20%)
HSVhsv(231, 51%, 26%)
CMYKcmyk(50.7%, 43.3%, 0%, 73.7%)
CIE-LABlab(16.08, 7.04, -19.04)
CIE-LCHlch(16.08, 20.31, 290.30°)
OKLaboklab(27.91% 0.0046 -0.0537)
OKLCHoklch(27.91% 0.054 275)
XYZxyz(2.3331, 2.1147, 5.5943)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212643 #433E21
analogous
#213743 #212643 #2D2143
triadic
#212643 #432126 #264321
tetradic
#212643 #432137 #433E21 #21432D
square
#212643 #432137 #433E21 #21432D
split-complementary
#212643 #432D21 #374321
monochromatic
#0A0C15 #0D0F1A #212643 #353D6C #495595

Accessibility & contrast

On white

14.76
#212643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#212643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212643
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212643#FFFFFF#000000##FFFFFF
##2126431.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2944
Deuteranopia (green-blind)
#192742
Tritanopia (blue-blind)
#152C31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212643;
/* rgb */ color: rgb(33, 38, 67);
/* oklch */ color: oklch(27.9% 0.054 275.0);
Tailwind
colors: {
  custom: {
    50: '#5e6077',
    500: '#212643',
    950: '#000000',
  },
}
SCSS
$custom: #212643;
$custom-light: #5e6077;
$custom-dark: #000000;
JSON
{
  "hex": "#212643",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 67
  },
  "hsl": {
    "h": 231.176,
    "s": 34,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27914,
    "c": 0.05388,
    "h": 275
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#212643
secondary
#777049
accent
#BA5ECA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #212643

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

Preview Lab → · Contrast checker → · Palette generator →

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