#213F83#213F83

#213F83 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.120 H 263.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#213F83
RGBrgb(33, 63, 131)
HSLhsl(222, 60%, 32%)
HSVhsv(222, 75%, 51%)
CMYKcmyk(74.8%, 51.9%, 0%, 48.6%)
CIE-LABlab(28.16, 14.13, -41.56)
CIE-LCHlch(28.16, 43.90, 288.78°)
OKLaboklab(38.56% -0.013 -0.1194)
OKLCHoklch(38.56% 0.12 263.8)
XYZxyz(6.5000, 5.5163, 22.1905)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F83 #836521
analogous
#217083 #213F83 #342183
triadic
#213F83 #83213F #3F8321
tetradic
#213F83 #832170 #836521 #218334
square
#213F83 #832170 #836521 #218334
split-complementary
#213F83 #833421 #708321
monochromatic
#081021 #152752 #213F83 #2D57B4 #4C75D2

Accessibility & contrast

On white

9.98
#213F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#213F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F83
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F83#FFFFFF#000000##FFFFFF
##213F831.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213f83;
/* rgb */ color: rgb(33, 63, 131);
/* oklch */ color: oklch(38.6% 0.120 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a73a7',
    500: '#213f83',
    950: '#000000',
  },
}
SCSS
$custom: #213f83;
$custom-light: #6a73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#213f83",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 221.633,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38558,
    "c": 0.12014,
    "h": 263.8
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#213F83
secondary
#B5954B
accent
#B345E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #213F83

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

Preview Lab → · Contrast checker → · Palette generator →

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