#212B68#212B68

#212B68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.107 H 271.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#212B68
RGBrgb(33, 43, 104)
HSLhsl(232, 52%, 27%)
HSVhsv(232, 68%, 41%)
CMYKcmyk(68.3%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.24, 17.53, -37.17)
CIE-LCHlch(20.24, 41.10, 295.25°)
OKLaboklab(31.92% 0.0036 -0.1068)
OKLCHoklch(31.92% 0.107 271.9)
XYZxyz(3.9889, 3.0502, 13.4726)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B68 #685E21
analogous
#214F68 #212B68 #3B2168
triadic
#212B68 #68212B #2B6821
tetradic
#212B68 #68214F #685E21 #21683B
square
#212B68 #68214F #685E21 #21683B
split-complementary
#212B68 #683B21 #4F6821
monochromatic
#070A17 #12183A #212B68 #303E96 #4153C3

Accessibility & contrast

On white

13.04
#212B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212B68
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B68#FFFFFF#000000##FFFFFF
##212B681.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #212b68;
/* rgb */ color: rgb(33, 43, 104);
/* oklch */ color: oklch(31.9% 0.107 271.9);
Tailwind
colors: {
  custom: {
    50: '#656494',
    500: '#212b68',
    950: '#000000',
  },
}
SCSS
$custom: #212b68;
$custom-light: #656494;
$custom-dark: #000000;
JSON
{
  "hex": "#212b68",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 231.549,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3192,
    "c": 0.1069,
    "h": 271.9
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #212B68

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

Preview Lab → · Contrast checker → · Palette generator →

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