#213894#213894

#213894 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.154 H 267.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#213894
RGBrgb(33, 56, 148)
HSLhsl(228, 64%, 35%)
HSVhsv(228, 78%, 58%)
CMYKcmyk(77.7%, 62.2%, 0%, 42%)
CIE-LABlab(27.54, 25.67, -53.08)
CIE-LCHlch(27.54, 58.96, 295.81°)
OKLaboklab(38.52% -0.0064 -0.1534)
OKLCHoklch(38.52% 0.154 267.6)
XYZxyz(7.3848, 5.2890, 28.6429)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213894 #947D21
analogous
#217194 #213894 #432194
triadic
#213894 #942138 #389421
tetradic
#213894 #942171 #947D21 #219443
square
#213894 #942171 #947D21 #219443
split-complementary
#213894 #944321 #719421
monochromatic
#0B1230 #162562 #213894 #2C4BC6 #5670D9

Accessibility & contrast

On white

10.20
#213894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#213894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213894
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213894#FFFFFF#000000##FFFFFF
##2138941.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213894;
/* rgb */ color: rgb(33, 56, 148);
/* oklch */ color: oklch(38.5% 0.154 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6eb4',
    500: '#213894',
    950: '#000000',
  },
}
SCSS
$custom: #213894;
$custom-light: #6f6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#213894",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 228,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.15351,
    "h": 267.6
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#213894
secondary
#BDA854
accent
#C541E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213894

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

Preview Lab → · Contrast checker → · Palette generator →

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