#212664#212664

#212664 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.5% C 0.108 H 274.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#212664
RGBrgb(33, 38, 100)
HSLhsl(236, 50%, 26%)
HSVhsv(236, 67%, 39%)
CMYKcmyk(67%, 62%, 0%, 60.8%)
CIE-LABlab(18.49, 19.54, -37.39)
CIE-LCHlch(18.49, 42.19, 297.59°)
OKLaboklab(30.51% 0.0086 -0.1075)
OKLCHoklch(30.51% 0.108 274.6)
XYZxyz(3.6198, 2.6294, 12.3709)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212664 #645F21
analogous
#214764 #212664 #3D2164
triadic
#212664 #642126 #266421
tetradic
#212664 #642147 #645F21 #21643D
square
#212664 #642147 #645F21 #21643D
split-complementary
#212664 #643D21 #476421
monochromatic
#080917 #121536 #212664 #303792 #4049C0

Accessibility & contrast

On white

13.76
#212664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#212664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212664
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212664#FFFFFF#000000##FFFFFF
##2126641.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212664;
/* rgb */ color: rgb(33, 38, 100);
/* oklch */ color: oklch(30.5% 0.108 274.6);
Tailwind
colors: {
  custom: {
    50: '#656091',
    500: '#212664',
    950: '#000000',
  },
}
SCSS
$custom: #212664;
$custom-light: #656091;
$custom-dark: #000000;
JSON
{
  "hex": "#212664",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 100
  },
  "hsl": {
    "h": 235.522,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30511,
    "c": 0.10789,
    "h": 274.6
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#212664
secondary
#989249
accent
#CF4EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040D
muted
#7A797D

Preview Lab

Preview with #212664

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

Preview Lab → · Contrast checker → · Palette generator →

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