#212B66#212B66

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

Color values

HEX#212B66
RGBrgb(33, 43, 102)
HSLhsl(231, 51%, 26%)
HSVhsv(231, 68%, 40%)
CMYKcmyk(67.6%, 57.8%, 0%, 60%)
CIE-LABlab(20.08, 16.75, -36.13)
CIE-LCHlch(20.08, 39.82, 294.88°)
OKLaboklab(31.75% 0.0035 -0.1038)
OKLCHoklch(31.75% 0.104 271.9)
XYZxyz(3.8885, 3.0101, 12.9439)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B66 #665C21
analogous
#214E66 #212B66 #3A2166
triadic
#212B66 #66212B #2B6621
tetradic
#212B66 #66214E #665C21 #21663A
square
#212B66 #66214E #665C21 #21663A
split-complementary
#212B66 #663A21 #4E6621
monochromatic
#070A17 #121838 #212B66 #303E94 #4053C1

Accessibility & contrast

On white

13.11
#212B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#212B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B66
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B66#FFFFFF#000000##FFFFFF
##212B661.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023468
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212b66;
/* rgb */ color: rgb(33, 43, 102);
/* oklch */ color: oklch(31.8% 0.104 271.9);
Tailwind
colors: {
  custom: {
    50: '#656492',
    500: '#212b66',
    950: '#000000',
  },
}
SCSS
$custom: #212b66;
$custom-light: #656492;
$custom-dark: #000000;
JSON
{
  "hex": "#212b66",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 231.304,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.10382,
    "h": 271.9
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#212B66
secondary
#9A8E49
accent
#C64DDB
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212B66

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

Preview Lab → · Contrast checker → · Palette generator →

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