#213790#213790

#213790 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.149 H 267.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#213790
RGBrgb(33, 55, 144)
HSLhsl(228, 63%, 35%)
HSVhsv(228, 77%, 56%)
CMYKcmyk(77.1%, 61.8%, 0%, 43.5%)
CIE-LABlab(26.93, 24.80, -51.62)
CIE-LCHlch(26.93, 57.26, 295.66°)
OKLaboklab(37.96% -0.0057 -0.1491)
OKLCHoklch(37.96% 0.149 267.8)
XYZxyz(7.0257, 5.0686, 26.9882)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213790 #907A21
analogous
#216F90 #213790 #422190
triadic
#213790 #902137 #379021
tetradic
#213790 #90216F #907A21 #219042
square
#213790 #90216F #907A21 #219042
split-complementary
#213790 #904221 #6F9021
monochromatic
#0A112C #16245E #213790 #2C4AC2 #546ED8

Accessibility & contrast

On white

10.43
#213790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213790
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213790#FFFFFF#000000##FFFFFF
##2137901.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213790;
/* rgb */ color: rgb(33, 55, 144);
/* oklch */ color: oklch(38.0% 0.149 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e6db1',
    500: '#213790',
    950: '#000000',
  },
}
SCSS
$custom: #213790;
$custom-light: #6e6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#213790",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 228.108,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.14923,
    "h": 267.8
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#213790
secondary
#BBA651
accent
#C542E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213790

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

Preview Lab → · Contrast checker → · Palette generator →

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