#212B59#212B59

#212B59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.083 H 271.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#212B59
RGBrgb(33, 43, 89)
HSLhsl(229, 46%, 24%)
HSVhsv(229, 63%, 35%)
CMYKcmyk(62.9%, 51.7%, 0%, 65.1%)
CIE-LABlab(19.11, 11.69, -29.13)
CIE-LCHlch(19.11, 31.39, 291.86°)
OKLaboklab(30.7% 0.0022 -0.0832)
OKLCHoklch(30.7% 0.083 271.5)
XYZxyz(3.2937, 2.7721, 9.8108)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B59 #594F21
analogous
#214759 #212B59 #332159
triadic
#212B59 #59212B #2B5921
tetradic
#212B59 #592147 #594F21 #215933
square
#212B59 #592147 #594F21 #215933
split-complementary
#212B59 #593321 #475921
monochromatic
#080B16 #10152C #212B59 #324186 #4256B2

Accessibility & contrast

On white

13.51
#212B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#212B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B59
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B59#FFFFFF#000000##FFFFFF
##212B591.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315B
Deuteranopia (green-blind)
#0C2C58
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #212b59;
/* rgb */ color: rgb(33, 43, 89);
/* oklch */ color: oklch(30.7% 0.083 271.5);
Tailwind
colors: {
  custom: {
    50: '#626488',
    500: '#212b59',
    950: '#000000',
  },
}
SCSS
$custom: #212b59;
$custom-light: #626488;
$custom-dark: #000000;
JSON
{
  "hex": "#212b59",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 229.286,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.307,
    "c": 0.08322,
    "h": 271.5
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#212B59
secondary
#8D8149
accent
#BE52D6
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050B
muted
#7A797C

Preview Lab

Preview with #212B59

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

Preview Lab → · Contrast checker → · Palette generator →

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