#212567#212567

#212567 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.6% C 0.114 H 274.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#212567
RGBrgb(33, 37, 103)
HSLhsl(237, 51%, 27%)
HSVhsv(237, 68%, 40%)
CMYKcmyk(68%, 64.1%, 0%, 59.6%)
CIE-LABlab(18.48, 21.40, -39.39)
CIE-LCHlch(18.48, 44.83, 298.51°)
OKLaboklab(30.58% 0.0095 -0.1134)
OKLCHoklch(30.58% 0.114 274.8)
XYZxyz(3.7361, 2.6254, 13.1392)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212567 #676321
analogous
#214867 #212567 #402167
triadic
#212567 #672125 #256721
tetradic
#212567 #672148 #676321 #216740
square
#212567 #672148 #676321 #216740
split-complementary
#212567 #674021 #486721
monochromatic
#070817 #121439 #212567 #303695 #4048C2

Accessibility & contrast

On white

13.77
#212567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212567
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212567#FFFFFF#000000##FFFFFF
##2125671.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #212567;
/* rgb */ color: rgb(33, 37, 103);
/* oklch */ color: oklch(30.6% 0.114 274.8);
Tailwind
colors: {
  custom: {
    50: '#665f93',
    500: '#212567',
    950: '#000000',
  },
}
SCSS
$custom: #212567;
$custom-light: #665f93;
$custom-dark: #000000;
JSON
{
  "hex": "#212567",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 103
  },
  "hsl": {
    "h": 236.571,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3058,
    "c": 0.11383,
    "h": 274.8
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#212567
secondary
#9B9649
accent
#D34DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #212567

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

Preview Lab → · Contrast checker → · Palette generator →

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