#213589#213589

#213589 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.142 H 268.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#213589
RGBrgb(33, 53, 137)
HSLhsl(228, 61%, 33%)
HSVhsv(228, 76%, 54%)
CMYKcmyk(75.9%, 61.3%, 0%, 46.3%)
CIE-LABlab(25.79, 23.44, -49.14)
CIE-LCHlch(25.79, 54.45, 295.50°)
OKLaboklab(36.92% -0.0043 -0.1419)
OKLCHoklch(36.92% 0.142 268.3)
XYZxyz(6.4141, 4.6750, 24.2264)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213589 #897521
analogous
#216989 #213589 #412189
triadic
#213589 #892135 #358921
tetradic
#213589 #892169 #897521 #218941
square
#213589 #892169 #897521 #218941
split-complementary
#213589 #894121 #698921
monochromatic
#090F26 #152258 #213589 #2D48BA #5069D5

Accessibility & contrast

On white

10.85
#213589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213589
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213589#FFFFFF#000000##FFFFFF
##2135891.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213589;
/* rgb */ color: rgb(33, 53, 137);
/* oklch */ color: oklch(36.9% 0.142 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cac',
    500: '#213589',
    950: '#000000',
  },
}
SCSS
$custom: #213589;
$custom-light: #6d6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#213589",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 228.462,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.14196,
    "h": 268.3
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#213589
secondary
#B8A44E
accent
#C544E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213589

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

Preview Lab → · Contrast checker → · Palette generator →

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