#213480#213480

#213480 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.130 H 268.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#213480
RGBrgb(33, 52, 128)
HSLhsl(228, 59%, 32%)
HSVhsv(228, 74%, 50%)
CMYKcmyk(74.2%, 59.4%, 0%, 49.8%)
CIE-LABlab(24.76, 20.61, -45.20)
CIE-LCHlch(24.76, 49.67, 294.51°)
OKLaboklab(35.92% -0.0037 -0.1303)
OKLCHoklch(35.92% 0.13 268.4)
XYZxyz(5.7501, 4.3372, 20.9520)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213480 #806D21
analogous
#216480 #213480 #3E2180
triadic
#213480 #802134 #348021
tetradic
#213480 #802164 #806D21 #21803E
square
#213480 #802164 #806D21 #21803E
split-complementary
#213480 #803E21 #648021
monochromatic
#080C1F #14204F #213480 #2E48B1 #4B66D1

Accessibility & contrast

On white

11.24
#213480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213480
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213480#FFFFFF#000000##FFFFFF
##2134801.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213480;
/* rgb */ color: rgb(33, 52, 128);
/* oklch */ color: oklch(35.9% 0.130 268.4);
Tailwind
colors: {
  custom: {
    50: '#6a6ba5',
    500: '#213480',
    950: '#000000',
  },
}
SCSS
$custom: #213480;
$custom-light: #6a6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#213480",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 228,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35915,
    "c": 0.13035,
    "h": 268.4
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#213480
secondary
#B39E4A
accent
#C346E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #213480

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

Preview Lab → · Contrast checker → · Palette generator →

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