#212964#212964

#212964 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.104 H 273.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#212964
RGBrgb(33, 41, 100)
HSLhsl(233, 50%, 26%)
HSVhsv(233, 67%, 39%)
CMYKcmyk(67%, 59%, 0%, 60.8%)
CIE-LABlab(19.35, 17.40, -36.01)
CIE-LCHlch(19.35, 40.00, 295.79°)
OKLaboklab(31.15% 0.0055 -0.1034)
OKLCHoklch(31.15% 0.104 273)
XYZxyz(3.7196, 2.8290, 12.4042)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212964 #645C21
analogous
#214A64 #212964 #3A2164
triadic
#212964 #642129 #296421
tetradic
#212964 #64214A #645C21 #21643A
square
#212964 #64214A #645C21 #21643A
split-complementary
#212964 #643A21 #4A6421
monochromatic
#080917 #121636 #212964 #303C92 #404FC0

Accessibility & contrast

On white

13.41
#212964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#212964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212964
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212964#FFFFFF#000000##FFFFFF
##2129641.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212964;
/* rgb */ color: rgb(33, 41, 100);
/* oklch */ color: oklch(31.1% 0.104 273.0);
Tailwind
colors: {
  custom: {
    50: '#656291',
    500: '#212964',
    950: '#000000',
  },
}
SCSS
$custom: #212964;
$custom-light: #656291;
$custom-dark: #000000;
JSON
{
  "hex": "#212964",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 232.836,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31146,
    "c": 0.10359,
    "h": 273
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#212964
secondary
#988F49
accent
#C94EDA
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #212964

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

Preview Lab → · Contrast checker → · Palette generator →

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