#213C83#213C83

#213C83 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.124 H 265.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#213C83
RGBrgb(33, 60, 131)
HSLhsl(223, 60%, 32%)
HSVhsv(223, 75%, 51%)
CMYKcmyk(74.8%, 54.2%, 0%, 48.6%)
CIE-LABlab(27.28, 16.22, -42.98)
CIE-LCHlch(27.28, 45.94, 290.67°)
OKLaboklab(37.89% -0.0103 -0.1237)
OKLCHoklch(37.89% 0.124 265.2)
XYZxyz(6.3384, 5.1931, 22.1366)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C83 #836821
analogous
#216D83 #213C83 #372183
triadic
#213C83 #83213C #3C8321
tetradic
#213C83 #83216D #836821 #218337
square
#213C83 #83216D #836821 #218337
split-complementary
#213C83 #833721 #6D8321
monochromatic
#080F21 #152652 #213C83 #2D52B4 #4C71D2

Accessibility & contrast

On white

10.30
#213C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#213C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C83
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C83#FFFFFF#000000##FFFFFF
##213C831.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4586
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213c83;
/* rgb */ color: rgb(33, 60, 131);
/* oklch */ color: oklch(37.9% 0.124 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b71a8',
    500: '#213c83',
    950: '#000000',
  },
}
SCSS
$custom: #213c83;
$custom-light: #6b71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#213c83",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 223.469,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37889,
    "c": 0.1241,
    "h": 265.2
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#213C83
secondary
#B5984B
accent
#B745E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213C83

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

Preview Lab → · Contrast checker → · Palette generator →

#213C83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva