#213195#213195

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

Color values

HEX#213195
RGBrgb(33, 49, 149)
HSLhsl(232, 64%, 36%)
HSVhsv(232, 78%, 58%)
CMYKcmyk(77.9%, 67.1%, 0%, 41.6%)
CIE-LABlab(25.83, 30.75, -56.49)
CIE-LCHlch(25.83, 64.32, 298.56°)
OKLaboklab(37.29% -0.002 -0.1635)
OKLCHoklch(37.29% 0.163 269.3)
XYZxyz(7.1485, 4.6891, 28.9563)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213195 #958521
analogous
#216B95 #213195 #4B2195
triadic
#213195 #952131 #319521
tetradic
#213195 #95216B #958521 #21954B
square
#213195 #95216B #958521 #21954B
split-complementary
#213195 #954B21 #6B9521
monochromatic
#0B1031 #162163 #213195 #2C41C7 #5769DA

Accessibility & contrast

On white

10.84
#213195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213195
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213195#FFFFFF#000000##FFFFFF
##2131951.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213195;
/* rgb */ color: rgb(33, 49, 149);
/* oklch */ color: oklch(37.3% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#7069b5',
    500: '#213195',
    950: '#000000',
  },
}
SCSS
$custom: #213195;
$custom-light: #7069b5;
$custom-dark: #000000;
JSON
{
  "hex": "#213195",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 231.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.16347,
    "h": 269.3
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#213195
secondary
#BEAF54
accent
#D041E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213195

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

Preview Lab → · Contrast checker → · Palette generator →

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