#213189#213189

#213189 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.147 H 269.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#213189
RGBrgb(33, 49, 137)
HSLhsl(231, 61%, 33%)
HSVhsv(231, 76%, 54%)
CMYKcmyk(75.9%, 64.2%, 0%, 46.3%)
CIE-LABlab(24.72, 26.18, -50.89)
CIE-LCHlch(24.72, 57.23, 297.23°)
OKLaboklab(36.13% -0.0014 -0.147)
OKLCHoklch(36.13% 0.147 269.5)
XYZxyz(6.2393, 4.3254, 24.1681)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213189 #897921
analogous
#216589 #213189 #452189
triadic
#213189 #892131 #318921
tetradic
#213189 #892165 #897921 #218945
square
#213189 #892165 #897921 #218945
split-complementary
#213189 #894521 #658921
monochromatic
#090E26 #151F58 #213189 #2D43BA #5064D5

Accessibility & contrast

On white

11.26
#213189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213189
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213189#FFFFFF#000000##FFFFFF
##2131891.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213189;
/* rgb */ color: rgb(33, 49, 137);
/* oklch */ color: oklch(36.1% 0.147 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d69ac',
    500: '#213189',
    950: '#000000',
  },
}
SCSS
$custom: #213189;
$custom-light: #6d69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#213189",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 230.769,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36129,
    "c": 0.14706,
    "h": 269.5
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#213189
secondary
#B8A84E
accent
#CC44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213189

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

Preview Lab → · Contrast checker → · Palette generator →

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