#212463#212463

#212463 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.109 H 275.6°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#212463
RGBrgb(33, 36, 99)
HSLhsl(237, 50%, 26%)
HSVhsv(237, 67%, 39%)
CMYKcmyk(66.7%, 63.6%, 0%, 61.2%)
CIE-LABlab(17.85, 20.58, -37.78)
CIE-LCHlch(17.85, 43.02, 298.57°)
OKLaboklab(30.01% 0.0106 -0.1087)
OKLCHoklch(30.01% 0.109 275.6)
XYZxyz(3.5095, 2.4857, 12.0968)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212463 #636021
analogous
#214563 #212463 #3F2163
triadic
#212463 #632124 #246321
tetradic
#212463 #632145 #636021 #21633F
square
#212463 #632145 #636021 #21633F
split-complementary
#212463 #633F21 #456321
monochromatic
#080817 #121335 #212463 #303591 #4045BF

Accessibility & contrast

On white

14.03
#212463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212463
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212463#FFFFFF#000000##FFFFFF
##2124631.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212463;
/* rgb */ color: rgb(33, 36, 99);
/* oklch */ color: oklch(30.0% 0.109 275.6);
Tailwind
colors: {
  custom: {
    50: '#655e90',
    500: '#212463',
    950: '#000000',
  },
}
SCSS
$custom: #212463;
$custom-light: #655e90;
$custom-dark: #000000;
JSON
{
  "hex": "#212463",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 237.273,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.10921,
    "h": 275.6
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#212463
secondary
#979449
accent
#D34EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #212463

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

Preview Lab → · Contrast checker → · Palette generator →

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