#212264#212264

#212264 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.114 H 276.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#212264
RGBrgb(33, 34, 100)
HSLhsl(239, 50%, 26%)
HSVhsv(239, 67%, 39%)
CMYKcmyk(67%, 66%, 0%, 60.8%)
CIE-LABlab(17.40, 22.36, -39.17)
CIE-LCHlch(17.40, 45.11, 299.71°)
OKLaboklab(29.7% 0.0125 -0.1128)
OKLCHoklch(29.7% 0.114 276.3)
XYZxyz(3.4987, 2.3872, 12.3305)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212264 #646321
analogous
#214364 #212264 #412164
triadic
#212264 #642122 #226421
tetradic
#212264 #642143 #646321 #216441
square
#212264 #642143 #646321 #216441
split-complementary
#212264 #644121 #436421
monochromatic
#080817 #121236 #212264 #303292 #4041C0

Accessibility & contrast

On white

14.21
#212264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#212264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212264
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212264#FFFFFF#000000##FFFFFF
##2122641.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212264;
/* rgb */ color: rgb(33, 34, 100);
/* oklch */ color: oklch(29.7% 0.114 276.3);
Tailwind
colors: {
  custom: {
    50: '#655d91',
    500: '#212264',
    950: '#000000',
  },
}
SCSS
$custom: #212264;
$custom-light: #655d91;
$custom-dark: #000000;
JSON
{
  "hex": "#212264",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 239.104,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.11351,
    "h": 276.3
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#212264
secondary
#989749
accent
#D84EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040D
muted
#7A797D

Preview Lab

Preview with #212264

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

Preview Lab → · Contrast checker → · Palette generator →

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