#212960#212960

#212960 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.097 H 273.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#212960
RGBrgb(33, 41, 96)
HSLhsl(232, 49%, 25%)
HSVhsv(232, 66%, 38%)
CMYKcmyk(65.6%, 57.3%, 0%, 62.4%)
CIE-LABlab(19.03, 15.85, -33.90)
CIE-LCHlch(19.03, 37.42, 295.06°)
OKLaboklab(30.81% 0.0052 -0.0972)
OKLCHoklch(30.81% 0.097 273.1)
XYZxyz(3.5308, 2.7534, 11.4095)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212960 #605821
analogous
#214860 #212960 #382160
triadic
#212960 #602129 #296021
tetradic
#212960 #602148 #605821 #216038
square
#212960 #602148 #605821 #216038
split-complementary
#212960 #603821 #486021
monochromatic
#080A17 #111632 #212960 #313C8E #4050BB

Accessibility & contrast

On white

13.54
#212960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#212960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212960
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212960#FFFFFF#000000##FFFFFF
##2129601.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063162
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #212960;
/* rgb */ color: rgb(33, 41, 96);
/* oklch */ color: oklch(30.8% 0.097 273.1);
Tailwind
colors: {
  custom: {
    50: '#64628e',
    500: '#212960',
    950: '#000000',
  },
}
SCSS
$custom: #212960;
$custom-light: #64628e;
$custom-dark: #000000;
JSON
{
  "hex": "#212960",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 232.381,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.09737,
    "h": 273.1
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#212960
secondary
#948B49
accent
#C74FD8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #212960

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

Preview Lab → · Contrast checker → · Palette generator →

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