#213A68#213A68

#213A68 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.086 H 261.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#213A68
RGBrgb(33, 58, 104)
HSLhsl(219, 52%, 27%)
HSVhsv(219, 68%, 41%)
CMYKcmyk(68.3%, 44.2%, 0%, 59.2%)
CIE-LABlab(24.79, 6.89, -29.86)
CIE-LCHlch(24.79, 30.65, 282.99°)
OKLaboklab(35.38% -0.0127 -0.0851)
OKLCHoklch(35.38% 0.086 261.5)
XYZxyz(4.6381, 4.3485, 13.6889)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A68 #684F21
analogous
#215E68 #213A68 #2C2168
triadic
#213A68 #68213A #3A6821
tetradic
#213A68 #68215E #684F21 #21682C
square
#213A68 #68215E #684F21 #21682C
split-complementary
#213A68 #682C21 #5E6821
monochromatic
#070D17 #12203A #213A68 #305496 #416EC3

Accessibility & contrast

On white

11.23
#213A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A68
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A68#FFFFFF#000000##FFFFFF
##213A681.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E6A
Deuteranopia (green-blind)
#1A3867
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213a68;
/* rgb */ color: rgb(33, 58, 104);
/* oklch */ color: oklch(35.4% 0.086 261.5);
Tailwind
colors: {
  custom: {
    50: '#656f93',
    500: '#213a68',
    950: '#000000',
  },
}
SCSS
$custom: #213a68;
$custom-light: #656f93;
$custom-dark: #000000;
JSON
{
  "hex": "#213a68",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 104
  },
  "hsl": {
    "h": 218.873,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35383,
    "c": 0.08605,
    "h": 261.5
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#213A68
secondary
#9C7F49
accent
#A94DDB
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213A68

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

Preview Lab → · Contrast checker → · Palette generator →

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