#213899#213899

#213899 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.160 H 267.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#213899
RGBrgb(33, 56, 153)
HSLhsl(229, 65%, 36%)
HSVhsv(229, 78%, 60%)
CMYKcmyk(78.4%, 63.4%, 0%, 40%)
CIE-LABlab(27.98, 27.60, -55.42)
CIE-LCHlch(27.98, 61.91, 296.48°)
OKLaboklab(38.98% -0.0064 -0.1602)
OKLCHoklch(38.98% 0.16 267.7)
XYZxyz(7.7891, 5.4507, 30.7724)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213899 #998221
analogous
#217499 #213899 #462199
triadic
#213899 #992138 #389921
tetradic
#213899 #992174 #998221 #219946
square
#213899 #992174 #998221 #219946
split-complementary
#213899 #994621 #749921
monochromatic
#0B1334 #162667 #213899 #2C4ACB #5972DB

Accessibility & contrast

On white

10.05
#213899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213899
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213899#FFFFFF#000000##FFFFFF
##2138991.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213899;
/* rgb */ color: rgb(33, 56, 153);
/* oklch */ color: oklch(39.0% 0.160 267.7);
Tailwind
colors: {
  custom: {
    50: '#706eb8',
    500: '#213899',
    950: '#000000',
  },
}
SCSS
$custom: #213899;
$custom-light: #706eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#213899",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 228.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.16038,
    "h": 267.7
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#213899
secondary
#BFAB56
accent
#C740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213899

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

Preview Lab → · Contrast checker → · Palette generator →

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