#212950#212950

#212950 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.071 H 272.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#212950
RGBrgb(33, 41, 80)
HSLhsl(230, 42%, 22%)
HSVhsv(230, 59%, 31%)
CMYKcmyk(58.8%, 48.8%, 0%, 68.6%)
CIE-LABlab(17.87, 9.68, -25.09)
CIE-LCHlch(17.87, 26.89, 291.11°)
OKLaboklab(29.55% 0.0032 -0.0713)
OKLCHoklch(29.55% 0.071 272.6)
XYZxyz(2.8676, 2.4882, 7.9170)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212950 #504821
analogous
#214150 #212950 #312150
triadic
#212950 #502129 #295021
tetradic
#212950 #502141 #504821 #215031
square
#212950 #502141 #504821 #215031
split-complementary
#212950 #503121 #415021
monochromatic
#090B16 #0F1325 #212950 #333F7B #4555A7

Accessibility & contrast

On white

14.02
#212950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#212950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212950
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212950#FFFFFF#000000##FFFFFF
##2129501.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E51
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#0A3138
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212950;
/* rgb */ color: rgb(33, 41, 80);
/* oklch */ color: oklch(29.6% 0.071 272.6);
Tailwind
colors: {
  custom: {
    50: '#606281',
    500: '#212950',
    950: '#000000',
  },
}
SCSS
$custom: #212950;
$custom-light: #606281;
$custom-dark: #000000;
JSON
{
  "hex": "#212950",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 229.787,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29553,
    "c": 0.0714,
    "h": 272.6
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#212950
secondary
#847A49
accent
#BC56D1
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #212950

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

Preview Lab → · Contrast checker → · Palette generator →

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