#213380#213380

#213380 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.132 H 268.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#213380
RGBrgb(33, 51, 128)
HSLhsl(229, 59%, 32%)
HSVhsv(229, 74%, 50%)
CMYKcmyk(74.2%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.48, 21.31, -45.65)
CIE-LCHlch(24.48, 50.38, 295.02°)
OKLaboklab(35.71% -0.0029 -0.1316)
OKLCHoklch(35.71% 0.132 268.7)
XYZxyz(5.7060, 4.2489, 20.9373)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213380 #806E21
analogous
#216380 #213380 #3F2180
triadic
#213380 #802133 #338021
tetradic
#213380 #802163 #806E21 #21803F
square
#213380 #802163 #806E21 #21803F
split-complementary
#213380 #803F21 #638021
monochromatic
#080C1F #14204F #213380 #2E46B1 #4B64D1

Accessibility & contrast

On white

11.35
#213380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#213380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213380
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213380#FFFFFF#000000##FFFFFF
##2133801.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213380;
/* rgb */ color: rgb(33, 51, 128);
/* oklch */ color: oklch(35.7% 0.132 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a6aa6',
    500: '#213380',
    950: '#000000',
  },
}
SCSS
$custom: #213380;
$custom-light: #6a6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#213380",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 228.632,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.13168,
    "h": 268.7
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#213380
secondary
#B39F4A
accent
#C546E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #213380

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

Preview Lab → · Contrast checker → · Palette generator →

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