#212B67#212B67

#212B67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.105 H 271.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#212B67
RGBrgb(33, 43, 103)
HSLhsl(231, 51%, 27%)
HSVhsv(231, 68%, 40%)
CMYKcmyk(68%, 58.3%, 0%, 59.6%)
CIE-LABlab(20.16, 17.14, -36.65)
CIE-LCHlch(20.16, 40.46, 295.07°)
OKLaboklab(31.84% 0.0035 -0.1053)
OKLCHoklch(31.84% 0.105 271.9)
XYZxyz(3.9384, 3.0300, 13.2066)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B67 #675D21
analogous
#214E67 #212B67 #3A2167
triadic
#212B67 #67212B #2B6721
tetradic
#212B67 #67214E #675D21 #21673A
square
#212B67 #67214E #675D21 #21673A
split-complementary
#212B67 #673A21 #4E6721
monochromatic
#070A17 #121839 #212B67 #303E95 #4053C2

Accessibility & contrast

On white

13.08
#212B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#212B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B67
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B67#FFFFFF#000000##FFFFFF
##212B671.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #212b67;
/* rgb */ color: rgb(33, 43, 103);
/* oklch */ color: oklch(31.8% 0.105 271.9);
Tailwind
colors: {
  custom: {
    50: '#656493',
    500: '#212b67',
    950: '#000000',
  },
}
SCSS
$custom: #212b67;
$custom-light: #656493;
$custom-dark: #000000;
JSON
{
  "hex": "#212b67",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 231.429,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31835,
    "c": 0.10536,
    "h": 271.9
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#212B67
secondary
#9B8F49
accent
#C74DDB
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212B67

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

Preview Lab → · Contrast checker → · Palette generator →

#212B67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva