#212465#212465

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

Color values

HEX#212465
RGBrgb(33, 36, 101)
HSLhsl(237, 51%, 26%)
HSVhsv(237, 67%, 40%)
CMYKcmyk(67.3%, 64.4%, 0%, 60.4%)
CIE-LABlab(18.03, 21.34, -38.81)
CIE-LCHlch(18.03, 44.29, 298.80°)
OKLaboklab(30.19% 0.0105 -0.1117)
OKLCHoklch(30.19% 0.112 275.4)
XYZxyz(3.6063, 2.5244, 12.6066)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212465 #656221
analogous
#214665 #212465 #402165
triadic
#212465 #652124 #246521
tetradic
#212465 #652146 #656221 #216540
square
#212465 #652146 #656221 #216540
split-complementary
#212465 #654021 #466521
monochromatic
#080817 #121437 #212465 #303493 #4046C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212465#FFFFFF#000000##FFFFFF
##2124651.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)
#002F67
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #212465;
/* rgb */ color: rgb(33, 36, 101);
/* oklch */ color: oklch(30.2% 0.112 275.4);
Tailwind
colors: {
  custom: {
    50: '#655e91',
    500: '#212465',
    950: '#000000',
  },
}
SCSS
$custom: #212465;
$custom-light: #655e91;
$custom-dark: #000000;
JSON
{
  "hex": "#212465",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 237.353,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30194,
    "c": 0.11223,
    "h": 275.4
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#212465
secondary
#999549
accent
#D44EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212465

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

Preview Lab → · Contrast checker → · Palette generator →

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