#212B65#212B65

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

Color values

HEX#212B65
RGBrgb(33, 43, 101)
HSLhsl(231, 51%, 26%)
HSVhsv(231, 67%, 40%)
CMYKcmyk(67.3%, 57.4%, 0%, 60.4%)
CIE-LABlab(20.00, 16.36, -35.60)
CIE-LCHlch(20.00, 39.18, 294.68°)
OKLaboklab(31.67% 0.0034 -0.1022)
OKLCHoklch(31.67% 0.102 271.9)
XYZxyz(3.8393, 2.9903, 12.6843)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B65 #655B21
analogous
#214D65 #212B65 #392165
triadic
#212B65 #65212B #2B6521
tetradic
#212B65 #65214D #655B21 #216539
square
#212B65 #65214D #655B21 #216539
split-complementary
#212B65 #653921 #4D6521
monochromatic
#080A17 #121737 #212B65 #303F93 #4053C1

Accessibility & contrast

On white

13.14
#212B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212B65
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B65#FFFFFF#000000##FFFFFF
##212B651.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043367
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212b65;
/* rgb */ color: rgb(33, 43, 101);
/* oklch */ color: oklch(31.7% 0.102 271.9);
Tailwind
colors: {
  custom: {
    50: '#656491',
    500: '#212b65',
    950: '#000000',
  },
}
SCSS
$custom: #212b65;
$custom-light: #656491;
$custom-dark: #000000;
JSON
{
  "hex": "#212b65",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 231.176,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31666,
    "c": 0.10227,
    "h": 271.9
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#212B65
secondary
#998D49
accent
#C64EDA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #212B65

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

Preview Lab → · Contrast checker → · Palette generator →

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