#213160#213160

#213160 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.086 H 267.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#213160
RGBrgb(33, 49, 96)
HSLhsl(225, 49%, 25%)
HSVhsv(225, 66%, 38%)
CMYKcmyk(65.6%, 49%, 0%, 62.4%)
CIE-LABlab(21.45, 10.10, -30.01)
CIE-LCHlch(21.45, 31.66, 288.60°)
OKLaboklab(32.64% -0.0039 -0.0857)
OKLCHoklch(32.64% 0.086 267.4)
XYZxyz(3.8361, 3.3642, 11.5113)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213160 #605021
analogous
#215060 #213160 #302160
triadic
#213160 #602131 #316021
tetradic
#213160 #602150 #605021 #216030
square
#213160 #602150 #605021 #216030
split-complementary
#213160 #603021 #506021
monochromatic
#080C17 #111A32 #213160 #31488E #405FBB

Accessibility & contrast

On white

12.55
#213160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213160
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213160#FFFFFF#000000##FFFFFF
##2131601.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3662
Deuteranopia (green-blind)
#10315F
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213160;
/* rgb */ color: rgb(33, 49, 96);
/* oklch */ color: oklch(32.6% 0.086 267.4);
Tailwind
colors: {
  custom: {
    50: '#63688d',
    500: '#213160',
    950: '#000000',
  },
}
SCSS
$custom: #213160;
$custom-light: #63688d;
$custom-dark: #000000;
JSON
{
  "hex": "#213160",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 224.762,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.08576,
    "h": 267.4
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#213160
secondary
#948149
accent
#B64FD8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #213160

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

Preview Lab → · Contrast checker → · Palette generator →

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