#212461#212461

#212461 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.8% C 0.106 H 275.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#212461
RGBrgb(33, 36, 97)
HSLhsl(237, 49%, 25%)
HSVhsv(237, 66%, 38%)
CMYKcmyk(66%, 62.9%, 0%, 62%)
CIE-LABlab(17.68, 19.81, -36.74)
CIE-LCHlch(17.68, 41.74, 298.33°)
OKLaboklab(29.83% 0.0106 -0.1056)
OKLCHoklch(29.83% 0.106 275.7)
XYZxyz(3.4150, 2.4479, 11.5995)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212461 #615E21
analogous
#214461 #212461 #3E2161
triadic
#212461 #612124 #246121
tetradic
#212461 #612144 #615E21 #21613E
square
#212461 #612144 #615E21 #21613E
split-complementary
#212461 #613E21 #446121
monochromatic
#080817 #111333 #212461 #31358F #4046BC

Accessibility & contrast

On white

14.10
#212461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#212461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212461
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212461#FFFFFF#000000##FFFFFF
##2124611.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212461;
/* rgb */ color: rgb(33, 36, 97);
/* oklch */ color: oklch(29.8% 0.106 275.7);
Tailwind
colors: {
  custom: {
    50: '#645e8e',
    500: '#212461',
    950: '#000000',
  },
}
SCSS
$custom: #212461;
$custom-light: #645e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#212461",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 97
  },
  "hsl": {
    "h": 237.188,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29829,
    "c": 0.10618,
    "h": 275.7
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#212461
secondary
#959249
accent
#D24FD9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #212461

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

Preview Lab → · Contrast checker → · Palette generator →

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