#212367#212367

#212367 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.117 H 275.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#212367
RGBrgb(33, 35, 103)
HSLhsl(238, 51%, 27%)
HSVhsv(238, 68%, 40%)
CMYKcmyk(68%, 66%, 0%, 59.6%)
CIE-LABlab(17.94, 22.80, -40.27)
CIE-LCHlch(17.94, 46.27, 299.52°)
OKLaboklab(30.18% 0.0114 -0.116)
OKLCHoklch(30.18% 0.117 275.6)
XYZxyz(3.6756, 2.5044, 13.1190)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212367 #676521
analogous
#214667 #212367 #422167
triadic
#212367 #672123 #236721
tetradic
#212367 #672146 #676521 #216742
square
#212367 #672146 #676521 #216742
split-complementary
#212367 #674221 #466721
monochromatic
#070817 #121339 #212367 #303395 #4044C2

Accessibility & contrast

On white

13.99
#212367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#212367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212367
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212367#FFFFFF#000000##FFFFFF
##2123671.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212367;
/* rgb */ color: rgb(33, 35, 103);
/* oklch */ color: oklch(30.2% 0.117 275.6);
Tailwind
colors: {
  custom: {
    50: '#665e93',
    500: '#212367',
    950: '#000000',
  },
}
SCSS
$custom: #212367;
$custom-light: #665e93;
$custom-dark: #000000;
JSON
{
  "hex": "#212367",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 238.286,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30184,
    "c": 0.11658,
    "h": 275.6
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#212367
secondary
#9B9949
accent
#D74DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212367

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

Preview Lab → · Contrast checker → · Palette generator →

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