#211487#211487

#211487 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.175 H 274.6°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#211487
RGBrgb(33, 20, 135)
HSLhsl(247, 74%, 30%)
HSVhsv(247, 85%, 53%)
CMYKcmyk(75.6%, 85.2%, 0%, 47.1%)
CIE-LABlab(18.24, 42.81, -60.31)
CIE-LCHlch(18.24, 73.96, 305.37°)
OKLaboklab(31.43% 0.014 -0.1744)
OKLCHoklch(31.43% 0.175 274.6)
XYZxyz(5.2491, 2.5724, 23.1369)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211487 #7A8714
analogous
#144087 #211487 #5B1487
triadic
#211487 #872114 #148721
tetradic
#211487 #871440 #7A8714 #14875B
square
#211487 #871440 #7A8714 #14875B
split-complementary
#211487 #875B14 #408714
monochromatic
#07041C #140C52 #211487 #2E1CBC #4834E1

Accessibility & contrast

On white

13.87
#211487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#211487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211487
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211487#FFFFFF#000000##FFFFFF
##2114871.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00318A
Deuteranopia (green-blind)
#002785
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211487;
/* rgb */ color: rgb(33, 20, 135);
/* oklch */ color: oklch(31.4% 0.175 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f56ab',
    500: '#211487',
    950: '#000000',
  },
}
SCSS
$custom: #211487;
$custom-light: #6f56ab;
$custom-dark: #000000;
JSON
{
  "hex": "#211487",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 246.783,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.17493,
    "h": 274.6
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#211487
secondary
#ADBB3B
accent
#F137DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211487

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

Preview Lab → · Contrast checker → · Palette generator →

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