#213297#213297

#213297 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.165 H 269.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#213297
RGBrgb(33, 50, 151)
HSLhsl(231, 64%, 36%)
HSVhsv(231, 78%, 59%)
CMYKcmyk(78.1%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.27, 30.85, -57.00)
CIE-LCHlch(26.27, 64.81, 298.42°)
OKLaboklab(37.67% -0.0027 -0.1649)
OKLCHoklch(37.67% 0.165 269.1)
XYZxyz(7.3518, 4.8381, 29.8185)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213297 #978621
analogous
#216D97 #213297 #4B2197
triadic
#213297 #972132 #329721
tetradic
#213297 #97216D #978621 #21974B
square
#213297 #97216D #978621 #21974B
split-complementary
#213297 #974B21 #6D9721
monochromatic
#0B1133 #162165 #213297 #2C43C9 #586BDA

Accessibility & contrast

On white

10.67
#213297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#213297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213297
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213297#FFFFFF#000000##FFFFFF
##2132971.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213297;
/* rgb */ color: rgb(33, 50, 151);
/* oklch */ color: oklch(37.7% 0.165 269.1);
Tailwind
colors: {
  custom: {
    50: '#706ab7',
    500: '#213297',
    950: '#000000',
  },
}
SCSS
$custom: #213297;
$custom-light: #706ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#213297",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 231.356,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37665,
    "c": 0.16496,
    "h": 269.1
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#213297
secondary
#BEAF55
accent
#CF41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213297

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

Preview Lab → · Contrast checker → · Palette generator →

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