#213097#213097

#213097 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.167 H 269.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#213097
RGBrgb(33, 48, 151)
HSLhsl(232, 64%, 36%)
HSVhsv(232, 78%, 59%)
CMYKcmyk(78.1%, 68.2%, 0%, 40.8%)
CIE-LABlab(25.78, 32.16, -57.81)
CIE-LCHlch(25.78, 66.15, 299.09°)
OKLaboklab(37.31% -0.0016 -0.1673)
OKLCHoklch(37.31% 0.167 269.5)
XYZxyz(7.2681, 4.6708, 29.7907)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213097 #978821
analogous
#216B97 #213097 #4D2197
triadic
#213097 #972130 #309721
tetradic
#213097 #97216B #978821 #21974D
square
#213097 #97216B #978821 #21974D
split-complementary
#213097 #974D21 #6B9721
monochromatic
#0B1033 #162065 #213097 #2C40C9 #5869DA

Accessibility & contrast

On white

10.86
#213097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213097
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213097#FFFFFF#000000##FFFFFF
##2130971.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213097;
/* rgb */ color: rgb(33, 48, 151);
/* oklch */ color: oklch(37.3% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#7168b7',
    500: '#213097',
    950: '#000000',
  },
}
SCSS
$custom: #213097;
$custom-light: #7168b7;
$custom-dark: #000000;
JSON
{
  "hex": "#213097",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 232.373,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37305,
    "c": 0.16733,
    "h": 269.5
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#213097
secondary
#BEB155
accent
#D241E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213097

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

Preview Lab → · Contrast checker → · Palette generator →

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