#212450#212450

#212450 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.079 H 277.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#212450
RGBrgb(33, 36, 80)
HSLhsl(236, 42%, 22%)
HSVhsv(236, 59%, 31%)
CMYKcmyk(58.8%, 55%, 0%, 68.6%)
CIE-LABlab(16.33, 13.33, -27.55)
CIE-LCHlch(16.33, 30.61, 295.82°)
OKLaboklab(28.39% 0.0099 -0.0786)
OKLCHoklch(28.39% 0.079 277.1)
XYZxyz(2.7056, 2.1641, 7.8630)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212450 #504D21
analogous
#213C50 #212450 #362150
triadic
#212450 #502124 #245021
tetradic
#212450 #50213C #504D21 #215036
square
#212450 #50213C #504D21 #215036
split-complementary
#212450 #503621 #3C5021
monochromatic
#090A16 #0F1125 #212450 #33377B #454BA7

Accessibility & contrast

On white

14.66
#212450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#212450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212450
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212450#FFFFFF#000000##FFFFFF
##2124501.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A52
Deuteranopia (green-blind)
#08274F
Tritanopia (blue-blind)
#0B2E36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212450;
/* rgb */ color: rgb(33, 36, 80);
/* oklch */ color: oklch(28.4% 0.079 277.1);
Tailwind
colors: {
  custom: {
    50: '#615e81',
    500: '#212450',
    950: '#000000',
  },
}
SCSS
$custom: #212450;
$custom-light: #615e81;
$custom-dark: #000000;
JSON
{
  "hex": "#212450",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 80
  },
  "hsl": {
    "h": 236.17,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28386,
    "c": 0.07924,
    "h": 277.1
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#212450
secondary
#848049
accent
#CA56D1
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #212450

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

Preview Lab → · Contrast checker → · Palette generator →

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