#212967#212967

#212967 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.108 H 272.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#212967
RGBrgb(33, 41, 103)
HSLhsl(233, 51%, 27%)
HSVhsv(233, 68%, 40%)
CMYKcmyk(68%, 60.2%, 0%, 59.6%)
CIE-LABlab(19.59, 18.57, -37.58)
CIE-LCHlch(19.59, 41.92, 296.30°)
OKLaboklab(31.41% 0.0056 -0.1081)
OKLCHoklch(31.41% 0.108 272.9)
XYZxyz(3.8675, 2.8881, 13.1830)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212967 #675F21
analogous
#214C67 #212967 #3C2167
triadic
#212967 #672129 #296721
tetradic
#212967 #67214C #675F21 #21673C
square
#212967 #67214C #675F21 #21673C
split-complementary
#212967 #673C21 #4C6721
monochromatic
#070917 #121739 #212967 #303B95 #404FC2

Accessibility & contrast

On white

13.31
#212967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#212967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212967
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212967#FFFFFF#000000##FFFFFF
##2129671.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212967;
/* rgb */ color: rgb(33, 41, 103);
/* oklch */ color: oklch(31.4% 0.108 272.9);
Tailwind
colors: {
  custom: {
    50: '#656293',
    500: '#212967',
    950: '#000000',
  },
}
SCSS
$custom: #212967;
$custom-light: #656293;
$custom-dark: #000000;
JSON
{
  "hex": "#212967",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 103
  },
  "hsl": {
    "h": 233.143,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.1082,
    "h": 272.9
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#212967
secondary
#9B9249
accent
#CB4DDB
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212967

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

Preview Lab → · Contrast checker → · Palette generator →

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