#212955#212955

#212955 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.080 H 272.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#212955
RGBrgb(33, 41, 85)
HSLhsl(231, 44%, 23%)
HSVhsv(231, 61%, 33%)
CMYKcmyk(61.2%, 51.8%, 0%, 66.7%)
CIE-LABlab(18.21, 11.59, -27.90)
CIE-LCHlch(18.21, 30.21, 292.56°)
OKLaboklab(29.93% 0.0041 -0.0796)
OKLCHoklch(29.93% 0.08 272.9)
XYZxyz(3.0593, 2.5649, 8.9264)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212955 #554D21
analogous
#214355 #212955 #332155
triadic
#212955 #552129 #295521
tetradic
#212955 #552143 #554D21 #215533
square
#212955 #552143 #554D21 #215533
split-complementary
#212955 #553321 #435521
monochromatic
#090B16 #101429 #212955 #323E81 #4354AD

Accessibility & contrast

On white

13.88
#212955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#212955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212955
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212955#FFFFFF#000000##FFFFFF
##2129551.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#0D2A54
Tritanopia (blue-blind)
#04333A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212955;
/* rgb */ color: rgb(33, 41, 85);
/* oklch */ color: oklch(29.9% 0.080 272.9);
Tailwind
colors: {
  custom: {
    50: '#616285',
    500: '#212955',
    950: '#000000',
  },
}
SCSS
$custom: #212955;
$custom-light: #616285;
$custom-dark: #000000;
JSON
{
  "hex": "#212955",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 230.769,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29927,
    "c": 0.07969,
    "h": 272.9
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#212955
secondary
#897F49
accent
#C054D4
background
#F5F5F8
surface
#EAEAEF
border
#C6C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #212955

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

Preview Lab → · Contrast checker → · Palette generator →

#212955 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva