#213F97#213F97

#213F97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.149 H 265.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#213F97
RGBrgb(33, 63, 151)
HSLhsl(225, 64%, 36%)
HSVhsv(225, 78%, 59%)
CMYKcmyk(78.1%, 58.3%, 0%, 40.8%)
CIE-LABlab(29.69, 22.07, -51.41)
CIE-LCHlch(29.69, 55.94, 293.23°)
OKLaboklab(40.2% -0.0113 -0.1484)
OKLCHoklch(40.2% 0.149 265.7)
XYZxyz(7.9887, 6.1118, 30.0308)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F97 #977921
analogous
#217A97 #213F97 #3E2197
triadic
#213F97 #97213F #3F9721
tetradic
#213F97 #97217A #977921 #21973E
square
#213F97 #97217A #977921 #21973E
split-complementary
#213F97 #973E21 #7A9721
monochromatic
#0B1533 #162A65 #213F97 #2C54C9 #5879DA

Accessibility & contrast

On white

9.45
#213F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#213F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F97
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F97#FFFFFF#000000##FFFFFF
##213F971.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213f97;
/* rgb */ color: rgb(33, 63, 151);
/* oklch */ color: oklch(40.2% 0.149 265.7);
Tailwind
colors: {
  custom: {
    50: '#6f73b6',
    500: '#213f97',
    950: '#000000',
  },
}
SCSS
$custom: #213f97;
$custom-light: #6f73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213f97",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 224.746,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.14881,
    "h": 265.7
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#213F97
secondary
#BEA455
accent
#BD41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #213F97

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

Preview Lab → · Contrast checker → · Palette generator →

#213F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva