#212467#212467

#212467 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.115 H 275.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#212467
RGBrgb(33, 36, 103)
HSLhsl(237, 51%, 27%)
HSVhsv(237, 68%, 40%)
CMYKcmyk(68%, 65%, 0%, 59.6%)
CIE-LABlab(18.21, 22.10, -39.83)
CIE-LCHlch(18.21, 45.55, 299.03°)
OKLaboklab(30.38% 0.0104 -0.1147)
OKLCHoklch(30.38% 0.115 275.2)
XYZxyz(3.7055, 2.5640, 13.1290)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212467 #676421
analogous
#214767 #212467 #412167
triadic
#212467 #672124 #246721
tetradic
#212467 #672147 #676421 #216741
square
#212467 #672147 #676421 #216741
split-complementary
#212467 #674121 #476721
monochromatic
#070817 #121439 #212467 #303495 #4046C2

Accessibility & contrast

On white

13.88
#212467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#212467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212467
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212467#FFFFFF#000000##FFFFFF
##2124671.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212467;
/* rgb */ color: rgb(33, 36, 103);
/* oklch */ color: oklch(30.4% 0.115 275.2);
Tailwind
colors: {
  custom: {
    50: '#665e93',
    500: '#212467',
    950: '#000000',
  },
}
SCSS
$custom: #212467;
$custom-light: #665e93;
$custom-dark: #000000;
JSON
{
  "hex": "#212467",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 237.429,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3038,
    "c": 0.1152,
    "h": 275.2
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#212467
secondary
#9B9749
accent
#D54DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212467

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

Preview Lab → · Contrast checker → · Palette generator →

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