#212565#212565

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

Color values

HEX#212565
RGBrgb(33, 37, 101)
HSLhsl(236, 51%, 26%)
HSVhsv(236, 67%, 40%)
CMYKcmyk(67.3%, 63.4%, 0%, 60.4%)
CIE-LABlab(18.30, 20.63, -38.36)
CIE-LCHlch(18.30, 43.56, 298.27°)
OKLaboklab(30.4% 0.0096 -0.1104)
OKLCHoklch(30.4% 0.111 274.9)
XYZxyz(3.6370, 2.5858, 12.6168)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212565 #656121
analogous
#214765 #212565 #3F2165
triadic
#212565 #652125 #256521
tetradic
#212565 #652147 #656121 #21653F
square
#212565 #652147 #656121 #21653F
split-complementary
#212565 #653F21 #476521
monochromatic
#080817 #121437 #212565 #303693 #4047C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212565#FFFFFF#000000##FFFFFF
##2125651.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)
#003067
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212565;
/* rgb */ color: rgb(33, 37, 101);
/* oklch */ color: oklch(30.4% 0.111 274.9);
Tailwind
colors: {
  custom: {
    50: '#655f91',
    500: '#212565',
    950: '#000000',
  },
}
SCSS
$custom: #212565;
$custom-light: #655f91;
$custom-dark: #000000;
JSON
{
  "hex": "#212565",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 236.471,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30396,
    "c": 0.11082,
    "h": 274.9
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#212565
secondary
#999449
accent
#D24EDA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212565

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

Preview Lab → · Contrast checker → · Palette generator →

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