#213187#213187

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

Color values

HEX#213187
RGBrgb(33, 49, 135)
HSLhsl(231, 61%, 33%)
HSVhsv(231, 76%, 53%)
CMYKcmyk(75.6%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.54, 25.41, -49.93)
CIE-LCHlch(24.54, 56.03, 296.97°)
OKLaboklab(35.94% -0.0014 -0.1442)
OKLCHoklch(35.94% 0.144 269.5)
XYZxyz(6.0972, 4.2686, 23.4196)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213187 #877721
analogous
#216487 #213187 #442187
triadic
#213187 #872131 #318721
tetradic
#213187 #872164 #877721 #218744
square
#213187 #872164 #877721 #218744
split-complementary
#213187 #874421 #648721
monochromatic
#090D25 #151F56 #213187 #2D43B8 #4F63D4

Accessibility & contrast

On white

11.33
#213187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#213187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213187
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213187#FFFFFF#000000##FFFFFF
##2131871.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213187;
/* rgb */ color: rgb(33, 49, 135);
/* oklch */ color: oklch(35.9% 0.144 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c69ab',
    500: '#213187',
    950: '#000000',
  },
}
SCSS
$custom: #213187;
$custom-light: #6c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213187",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 230.588,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35942,
    "c": 0.14426,
    "h": 269.5
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213187

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

Preview Lab → · Contrast checker → · Palette generator →

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