#213188#213188

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

Color values

HEX#213188
RGBrgb(33, 49, 136)
HSLhsl(231, 61%, 33%)
HSVhsv(231, 76%, 53%)
CMYKcmyk(75.7%, 64%, 0%, 46.7%)
CIE-LABlab(24.63, 25.80, -50.41)
CIE-LCHlch(24.63, 56.63, 297.10°)
OKLaboklab(36.04% -0.0014 -0.1457)
OKLCHoklch(36.04% 0.146 269.5)
XYZxyz(6.1679, 4.2969, 23.7921)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213188 #887821
analogous
#216488 #213188 #452188
triadic
#213188 #882131 #318821
tetradic
#213188 #882164 #887821 #218845
square
#213188 #882164 #887821 #218845
split-complementary
#213188 #884521 #648821
monochromatic
#090E25 #151F57 #213188 #2D43B9 #4F64D4

Accessibility & contrast

On white

11.29
#213188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#213188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213188
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213188#FFFFFF#000000##FFFFFF
##2131881.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213188;
/* rgb */ color: rgb(33, 49, 136);
/* oklch */ color: oklch(36.0% 0.146 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d69ac',
    500: '#213188',
    950: '#000000',
  },
}
SCSS
$custom: #213188;
$custom-light: #6d69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#213188",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 230.68,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36035,
    "c": 0.14567,
    "h": 269.5
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#213188
secondary
#B8A74D
accent
#CB44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213188

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

Preview Lab → · Contrast checker → · Palette generator →

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