#213267#213267

#213267 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.095 H 267.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#213267
RGBrgb(33, 50, 103)
HSLhsl(225, 51%, 27%)
HSVhsv(225, 68%, 40%)
CMYKcmyk(68%, 51.5%, 0%, 59.6%)
CIE-LABlab(22.24, 12.14, -33.29)
CIE-LCHlch(22.24, 35.44, 290.03°)
OKLaboklab(33.41% -0.0039 -0.0953)
OKLCHoklch(33.41% 0.095 267.6)
XYZxyz(4.2151, 3.5834, 13.2989)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213267 #675621
analogous
#215567 #213267 #332167
triadic
#213267 #672132 #326721
tetradic
#213267 #672155 #675621 #216733
square
#213267 #672155 #675621 #216733
split-complementary
#213267 #673321 #556721
monochromatic
#070B17 #121C39 #213267 #304895 #4060C2

Accessibility & contrast

On white

12.23
#213267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#213267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213267
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213267#FFFFFF#000000##FFFFFF
##2132671.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163969
Deuteranopia (green-blind)
#073266
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213267;
/* rgb */ color: rgb(33, 50, 103);
/* oklch */ color: oklch(33.4% 0.095 267.6);
Tailwind
colors: {
  custom: {
    50: '#656993',
    500: '#213267',
    950: '#000000',
  },
}
SCSS
$custom: #213267;
$custom-light: #656993;
$custom-dark: #000000;
JSON
{
  "hex": "#213267",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 103
  },
  "hsl": {
    "h": 225.429,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33407,
    "c": 0.0954,
    "h": 267.6
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#213267
secondary
#9B8749
accent
#B84DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #213267

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

Preview Lab → · Contrast checker → · Palette generator →

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