#213D83#213D83

#213D83 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.123 H 264.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#213D83
RGBrgb(33, 61, 131)
HSLhsl(223, 60%, 32%)
HSVhsv(223, 75%, 51%)
CMYKcmyk(74.8%, 53.4%, 0%, 48.6%)
CIE-LABlab(27.57, 15.52, -42.51)
CIE-LCHlch(27.57, 45.26, 290.06°)
OKLaboklab(38.11% -0.0112 -0.1223)
OKLCHoklch(38.11% 0.123 264.8)
XYZxyz(6.3912, 5.2988, 22.1543)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D83 #836721
analogous
#216E83 #213D83 #362183
triadic
#213D83 #83213D #3D8321
tetradic
#213D83 #83216E #836721 #218336
square
#213D83 #83216E #836721 #218336
split-complementary
#213D83 #833621 #6E8321
monochromatic
#080F21 #152652 #213D83 #2D54B4 #4C73D2

Accessibility & contrast

On white

10.19
#213D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#213D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D83
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D83#FFFFFF#000000##FFFFFF
##213D831.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4685
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213d83;
/* rgb */ color: rgb(33, 61, 131);
/* oklch */ color: oklch(38.1% 0.123 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b72a8',
    500: '#213d83',
    950: '#000000',
  },
}
SCSS
$custom: #213d83;
$custom-light: #6b72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#213d83",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 222.857,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.12277,
    "h": 264.8
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#213D83
secondary
#B5974B
accent
#B645E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213D83

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

Preview Lab → · Contrast checker → · Palette generator →

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