#213489#213489

#213489 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.143 H 268.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#213489
RGBrgb(33, 52, 137)
HSLhsl(229, 61%, 33%)
HSVhsv(229, 76%, 54%)
CMYKcmyk(75.9%, 62%, 0%, 46.3%)
CIE-LABlab(25.52, 24.13, -49.58)
CIE-LCHlch(25.52, 55.15, 295.95°)
OKLaboklab(36.72% -0.0036 -0.1432)
OKLCHoklch(36.72% 0.143 268.6)
XYZxyz(6.3690, 4.5848, 24.2114)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213489 #897621
analogous
#216889 #213489 #422189
triadic
#213489 #892134 #348921
tetradic
#213489 #892168 #897621 #218942
square
#213489 #892168 #897621 #218942
split-complementary
#213489 #894221 #688921
monochromatic
#090F26 #152158 #213489 #2D47BA #5068D5

Accessibility & contrast

On white

10.95
#213489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#213489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213489
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213489#FFFFFF#000000##FFFFFF
##2134891.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213489;
/* rgb */ color: rgb(33, 52, 137);
/* oklch */ color: oklch(36.7% 0.143 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d6bac',
    500: '#213489',
    950: '#000000',
  },
}
SCSS
$custom: #213489;
$custom-light: #6d6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#213489",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 229.038,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.14323,
    "h": 268.6
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#213489
secondary
#B8A54E
accent
#C744E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213489

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

Preview Lab → · Contrast checker → · Palette generator →

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