#213C63#213C63

#213C63 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.5% C 0.076 H 257.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#213C63
RGBrgb(33, 60, 99)
HSLhsl(215, 50%, 26%)
HSVhsv(215, 67%, 39%)
CMYKcmyk(66.7%, 39.4%, 0%, 61.2%)
CIE-LABlab(25.12, 3.55, -26.11)
CIE-LCHlch(25.12, 26.35, 277.74°)
OKLaboklab(35.54% -0.0162 -0.0741)
OKLCHoklch(35.54% 0.076 257.6)
XYZxyz(4.4944, 4.4555, 12.4251)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C63 #634821
analogous
#215D63 #213C63 #272163
triadic
#213C63 #63213C #3C6321
tetradic
#213C63 #63215D #634821 #216327
square
#213C63 #63215D #634821 #216327
split-complementary
#213C63 #632721 #5D6321
monochromatic
#080E17 #122035 #213C63 #305891 #4074BF

Accessibility & contrast

On white

11.10
#213C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C63
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C63#FFFFFF#000000##FFFFFF
##213C631.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3F65
Deuteranopia (green-blind)
#223962
Tritanopia (blue-blind)
#00454A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213c63;
/* rgb */ color: rgb(33, 60, 99);
/* oklch */ color: oklch(35.5% 0.076 257.6);
Tailwind
colors: {
  custom: {
    50: '#63718f',
    500: '#213c63',
    950: '#000000',
  },
}
SCSS
$custom: #213c63;
$custom-light: #63718f;
$custom-dark: #000000;
JSON
{
  "hex": "#213c63",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 99
  },
  "hsl": {
    "h": 215.455,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.07584,
    "h": 257.6
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#213C63
secondary
#977749
accent
#A14EDA
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213C63

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

Preview Lab → · Contrast checker → · Palette generator →

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