#213890#213890

#213890 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.148 H 267.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#213890
RGBrgb(33, 56, 144)
HSLhsl(228, 63%, 35%)
HSVhsv(228, 77%, 56%)
CMYKcmyk(77.1%, 61.1%, 0%, 43.5%)
CIE-LABlab(27.20, 24.12, -51.18)
CIE-LCHlch(27.20, 56.57, 295.23°)
OKLaboklab(38.16% -0.0064 -0.1478)
OKLCHoklch(38.16% 0.148 267.5)
XYZxyz(7.0737, 5.1645, 27.0042)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213890 #907921
analogous
#216F90 #213890 #422190
triadic
#213890 #902138 #389021
tetradic
#213890 #90216F #907921 #219042
square
#213890 #90216F #907921 #219042
split-complementary
#213890 #904221 #6F9021
monochromatic
#0A112C #16255E #213890 #2C4BC2 #546FD8

Accessibility & contrast

On white

10.33
#213890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213890
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213890#FFFFFF#000000##FFFFFF
##2138901.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213890;
/* rgb */ color: rgb(33, 56, 144);
/* oklch */ color: oklch(38.2% 0.148 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e6eb1',
    500: '#213890',
    950: '#000000',
  },
}
SCSS
$custom: #213890;
$custom-light: #6e6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#213890",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 227.568,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.14795,
    "h": 267.5
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#213890
secondary
#BBA551
accent
#C442E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213890

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

Preview Lab → · Contrast checker → · Palette generator →

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