#213287#213287

#213287 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.143 H 269.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#213287
RGBrgb(33, 50, 135)
HSLhsl(230, 61%, 33%)
HSVhsv(230, 76%, 53%)
CMYKcmyk(75.6%, 63%, 0%, 47.1%)
CIE-LABlab(24.81, 24.73, -49.50)
CIE-LCHlch(24.81, 55.33, 296.54°)
OKLaboklab(36.14% -0.0021 -0.143)
OKLCHoklch(36.14% 0.143 269.2)
XYZxyz(6.1395, 4.3532, 23.4337)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213287 #877621
analogous
#216587 #213287 #432187
triadic
#213287 #872132 #328721
tetradic
#213287 #872165 #877621 #218743
square
#213287 #872165 #877621 #218743
split-complementary
#213287 #874321 #658721
monochromatic
#090E25 #152056 #213287 #2D44B8 #4F65D4

Accessibility & contrast

On white

11.23
#213287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213287
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213287#FFFFFF#000000##FFFFFF
##2132871.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213287;
/* rgb */ color: rgb(33, 50, 135);
/* oklch */ color: oklch(36.1% 0.143 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c69ab',
    500: '#213287',
    950: '#000000',
  },
}
SCSS
$custom: #213287;
$custom-light: #6c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213287",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 230,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36138,
    "c": 0.14299,
    "h": 269.2
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#213287
secondary
#B7A54D
accent
#C944E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213287

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

Preview Lab → · Contrast checker → · Palette generator →

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