#212368#212368

#212368 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.3% C 0.118 H 275.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#212368
RGBrgb(33, 35, 104)
HSLhsl(238, 52%, 27%)
HSVhsv(238, 68%, 41%)
CMYKcmyk(68.3%, 66.3%, 0%, 59.2%)
CIE-LABlab(18.03, 23.18, -40.77)
CIE-LCHlch(18.03, 46.90, 299.61°)
OKLaboklab(30.28% 0.0113 -0.1175)
OKLCHoklch(30.28% 0.118 275.5)
XYZxyz(3.7261, 2.5246, 13.3849)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212368 #686621
analogous
#214768 #212368 #432168
triadic
#212368 #682123 #236821
tetradic
#212368 #682147 #686621 #216843
square
#212368 #682147 #686621 #216843
split-complementary
#212368 #684321 #476821
monochromatic
#070817 #12133A #212368 #303396 #4144C3

Accessibility & contrast

On white

13.95
#212368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#212368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212368
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212368#FFFFFF#000000##FFFFFF
##2123681.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212368;
/* rgb */ color: rgb(33, 35, 104);
/* oklch */ color: oklch(30.3% 0.118 275.5);
Tailwind
colors: {
  custom: {
    50: '#665e94',
    500: '#212368',
    950: '#000000',
  },
}
SCSS
$custom: #212368;
$custom-light: #665e94;
$custom-dark: #000000;
JSON
{
  "hex": "#212368",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 238.31,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30279,
    "c": 0.11805,
    "h": 275.5
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#212368
secondary
#9C9A49
accent
#D74DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212368

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

Preview Lab → · Contrast checker → · Palette generator →

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