#213087#213087

#213087 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.146 H 269.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#213087
RGBrgb(33, 48, 135)
HSLhsl(231, 61%, 33%)
HSVhsv(231, 76%, 53%)
CMYKcmyk(75.6%, 64.4%, 0%, 47.1%)
CIE-LABlab(24.28, 26.09, -50.37)
CIE-LCHlch(24.28, 56.72, 297.39°)
OKLaboklab(35.75% -0.0006 -0.1455)
OKLCHoklch(35.75% 0.146 269.7)
XYZxyz(6.0558, 4.1859, 23.4058)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213087 #877821
analogous
#216387 #213087 #452187
triadic
#213087 #872130 #308721
tetradic
#213087 #872163 #877821 #218745
square
#213087 #872163 #877821 #218745
split-complementary
#213087 #874521 #638721
monochromatic
#090D25 #151F56 #213087 #2D41B8 #4F62D4

Accessibility & contrast

On white

11.43
#213087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#213087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213087
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213087#FFFFFF#000000##FFFFFF
##2130871.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213087;
/* rgb */ color: rgb(33, 48, 135);
/* oklch */ color: oklch(35.7% 0.146 269.7);
Tailwind
colors: {
  custom: {
    50: '#6c68ab',
    500: '#213087',
    950: '#000000',
  },
}
SCSS
$custom: #213087;
$custom-light: #6c68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213087",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 231.176,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35747,
    "c": 0.14553,
    "h": 269.7
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213087

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

Preview Lab → · Contrast checker → · Palette generator →

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