#213190#213190

#213190 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.157 H 269.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#213190
RGBrgb(33, 49, 144)
HSLhsl(231, 63%, 35%)
HSVhsv(231, 77%, 56%)
CMYKcmyk(77.1%, 66%, 0%, 43.5%)
CIE-LABlab(25.36, 28.86, -54.18)
CIE-LCHlch(25.36, 61.39, 298.04°)
OKLaboklab(36.8% -0.0017 -0.1567)
OKLCHoklch(36.8% 0.157 269.4)
XYZxyz(6.7578, 4.5328, 26.8989)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213190 #908021
analogous
#216990 #213190 #482190
triadic
#213190 #902131 #319021
tetradic
#213190 #902169 #908021 #219048
square
#213190 #902169 #908021 #219048
split-complementary
#213190 #904821 #699021
monochromatic
#0A0F2C #16205E #213190 #2C42C2 #5467D8

Accessibility & contrast

On white

11.01
#213190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#213190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213190
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213190#FFFFFF#000000##FFFFFF
##2131901.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213190;
/* rgb */ color: rgb(33, 49, 144);
/* oklch */ color: oklch(36.8% 0.157 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f69b1',
    500: '#213190',
    950: '#000000',
  },
}
SCSS
$custom: #213190;
$custom-light: #6f69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#213190",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 231.351,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36798,
    "c": 0.15671,
    "h": 269.4
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#213190
secondary
#BBAC51
accent
#CE42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #213190

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

Preview Lab → · Contrast checker → · Palette generator →

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