#212B60#212B60

#212B60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.094 H 271.8°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#212B60
RGBrgb(33, 43, 96)
HSLhsl(230, 49%, 25%)
HSVhsv(230, 66%, 38%)
CMYKcmyk(65.6%, 55.2%, 0%, 62.4%)
CIE-LABlab(19.62, 14.41, -32.94)
CIE-LCHlch(19.62, 35.96, 293.63°)
OKLaboklab(31.25% 0.003 -0.0944)
OKLCHoklch(31.25% 0.094 271.8)
XYZxyz(3.6017, 2.8953, 11.4331)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B60 #605621
analogous
#214A60 #212B60 #362160
triadic
#212B60 #60212B #2B6021
tetradic
#212B60 #60214A #605621 #216036
square
#212B60 #60214A #605621 #216036
split-complementary
#212B60 #603621 #4A6021
monochromatic
#080A17 #111732 #212B60 #313F8E #4054BB

Accessibility & contrast

On white

13.30
#212B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#212B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B60
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B60#FFFFFF#000000##FFFFFF
##212B601.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3262
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212b60;
/* rgb */ color: rgb(33, 43, 96);
/* oklch */ color: oklch(31.3% 0.094 271.8);
Tailwind
colors: {
  custom: {
    50: '#64648d',
    500: '#212b60',
    950: '#000000',
  },
}
SCSS
$custom: #212b60;
$custom-light: #64648d;
$custom-dark: #000000;
JSON
{
  "hex": "#212b60",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 230.476,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31253,
    "c": 0.09444,
    "h": 271.8
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#212B60
secondary
#948849
accent
#C34FD8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #212B60

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

Preview Lab → · Contrast checker → · Palette generator →

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