#212468#212468

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

Color values

HEX#212468
RGBrgb(33, 36, 104)
HSLhsl(237, 52%, 27%)
HSVhsv(237, 68%, 41%)
CMYKcmyk(68.3%, 65.4%, 0%, 59.2%)
CIE-LABlab(18.30, 22.48, -40.34)
CIE-LCHlch(18.30, 46.18, 299.13°)
OKLaboklab(30.47% 0.0104 -0.1162)
OKLCHoklch(30.47% 0.117 275.1)
XYZxyz(3.7559, 2.5842, 13.3949)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212468 #686521
analogous
#214868 #212468 #422168
triadic
#212468 #682124 #246821
tetradic
#212468 #682148 #686521 #216842
square
#212468 #682148 #686521 #216842
split-complementary
#212468 #684221 #486821
monochromatic
#070817 #12143A #212468 #303496 #4146C3

Accessibility & contrast

On white

13.84
#212468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#212468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212468
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212468#FFFFFF#000000##FFFFFF
##2124681.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212468;
/* rgb */ color: rgb(33, 36, 104);
/* oklch */ color: oklch(30.5% 0.117 275.1);
Tailwind
colors: {
  custom: {
    50: '#665e94',
    500: '#212468',
    950: '#000000',
  },
}
SCSS
$custom: #212468;
$custom-light: #665e94;
$custom-dark: #000000;
JSON
{
  "hex": "#212468",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 237.465,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30474,
    "c": 0.11668,
    "h": 275.1
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#212468
secondary
#9C9849
accent
#D54DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212468

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

Preview Lab → · Contrast checker → · Palette generator →

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