#213A63#213A63

#213A63 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.0% C 0.078 H 259.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#213A63
RGBrgb(33, 58, 99)
HSLhsl(217, 50%, 26%)
HSVhsv(217, 67%, 39%)
CMYKcmyk(66.7%, 41.4%, 0%, 61.2%)
CIE-LABlab(24.48, 4.93, -27.12)
CIE-LCHlch(24.48, 27.57, 280.30°)
OKLaboklab(35.04% -0.0139 -0.0771)
OKLCHoklch(35.04% 0.078 259.8)
XYZxyz(4.3916, 4.2499, 12.3908)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A63 #634A21
analogous
#215B63 #213A63 #292163
triadic
#213A63 #63213A #3A6321
tetradic
#213A63 #63215B #634A21 #216329
square
#213A63 #63215B #634A21 #216329
split-complementary
#213A63 #632921 #5B6321
monochromatic
#080D17 #121F35 #213A63 #305591 #4070BF

Accessibility & contrast

On white

11.35
#213A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#213A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A63
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A63#FFFFFF#000000##FFFFFF
##213A631.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D65
Deuteranopia (green-blind)
#1F3762
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213a63;
/* rgb */ color: rgb(33, 58, 99);
/* oklch */ color: oklch(35.0% 0.078 259.8);
Tailwind
colors: {
  custom: {
    50: '#646f8f',
    500: '#213a63',
    950: '#000000',
  },
}
SCSS
$custom: #213a63;
$custom-light: #646f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#213a63",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 99
  },
  "hsl": {
    "h": 217.273,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35042,
    "c": 0.07833,
    "h": 259.8
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#213A63
secondary
#977949
accent
#A54EDA
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213A63

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

Preview Lab → · Contrast checker → · Palette generator →

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