#213289#213289

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

Color values

HEX#213289
RGBrgb(33, 50, 137)
HSLhsl(230, 61%, 33%)
HSVhsv(230, 76%, 54%)
CMYKcmyk(75.9%, 63.5%, 0%, 46.3%)
CIE-LABlab(24.98, 25.50, -50.46)
CIE-LCHlch(24.98, 56.54, 296.81°)
OKLaboklab(36.32% -0.0021 -0.1458)
OKLCHoklch(36.32% 0.146 269.2)
XYZxyz(6.2816, 4.4100, 24.1822)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213289 #897821
analogous
#216689 #213289 #442189
triadic
#213289 #892132 #328921
tetradic
#213289 #892166 #897821 #218944
square
#213289 #892166 #897821 #218944
split-complementary
#213289 #894421 #668921
monochromatic
#090E26 #152058 #213289 #2D44BA #5065D5

Accessibility & contrast

On white

11.16
#213289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#213289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213289
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213289#FFFFFF#000000##FFFFFF
##2132891.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213289;
/* rgb */ color: rgb(33, 50, 137);
/* oklch */ color: oklch(36.3% 0.146 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d69ac',
    500: '#213289',
    950: '#000000',
  },
}
SCSS
$custom: #213289;
$custom-light: #6d69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#213289",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 230.192,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36324,
    "c": 0.1458,
    "h": 269.2
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#213289
secondary
#B8A74E
accent
#CA44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213289

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

Preview Lab → · Contrast checker → · Palette generator →

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