#213891#213891

#213891 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.149 H 267.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#213891
RGBrgb(33, 56, 145)
HSLhsl(228, 63%, 35%)
HSVhsv(228, 77%, 57%)
CMYKcmyk(77.2%, 61.4%, 0%, 43.1%)
CIE-LABlab(27.28, 24.51, -51.65)
CIE-LCHlch(27.28, 57.17, 295.38°)
OKLaboklab(38.25% -0.0064 -0.1492)
OKLCHoklch(38.25% 0.149 267.5)
XYZxyz(7.1504, 5.1952, 27.4085)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213891 #917A21
analogous
#217091 #213891 #422191
triadic
#213891 #912138 #389121
tetradic
#213891 #912170 #917A21 #219142
square
#213891 #912170 #917A21 #219142
split-complementary
#213891 #914221 #709121
monochromatic
#0A112D #16255F #213891 #2C4BC3 #546FD8

Accessibility & contrast

On white

10.30
#213891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#213891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213891
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213891#FFFFFF#000000##FFFFFF
##2138911.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213891;
/* rgb */ color: rgb(33, 56, 145);
/* oklch */ color: oklch(38.2% 0.149 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e6eb2',
    500: '#213891',
    950: '#000000',
  },
}
SCSS
$custom: #213891;
$custom-light: #6e6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#213891",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 227.679,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38248,
    "c": 0.14935,
    "h": 267.5
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#213891
secondary
#BCA652
accent
#C442E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213891

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

Preview Lab → · Contrast checker → · Palette generator →

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