#213D68#213D68

#213D68 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.1% C 0.082 H 258.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#213D68
RGBrgb(33, 61, 104)
HSLhsl(216, 52%, 27%)
HSVhsv(216, 68%, 41%)
CMYKcmyk(68.3%, 41.3%, 0%, 59.2%)
CIE-LABlab(25.74, 4.81, -28.35)
CIE-LCHlch(25.74, 28.75, 279.63°)
OKLaboklab(36.12% -0.0161 -0.0806)
OKLCHoklch(36.12% 0.082 258.7)
XYZxyz(4.7937, 4.6598, 13.7408)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D68 #684C21
analogous
#216168 #213D68 #292168
triadic
#213D68 #68213D #3D6821
tetradic
#213D68 #682161 #684C21 #216829
square
#213D68 #682161 #684C21 #216829
split-complementary
#213D68 #682921 #616821
monochromatic
#070E17 #12223A #213D68 #305896 #4174C3

Accessibility & contrast

On white

10.87
#213D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D68
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D68#FFFFFF#000000##FFFFFF
##213D681.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A416A
Deuteranopia (green-blind)
#203A67
Tritanopia (blue-blind)
#00474D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213d68;
/* rgb */ color: rgb(33, 61, 104);
/* oklch */ color: oklch(36.1% 0.082 258.7);
Tailwind
colors: {
  custom: {
    50: '#647293',
    500: '#213d68',
    950: '#000000',
  },
}
SCSS
$custom: #213d68;
$custom-light: #647293;
$custom-dark: #000000;
JSON
{
  "hex": "#213d68",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 104
  },
  "hsl": {
    "h": 216.338,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3612,
    "c": 0.08222,
    "h": 258.7
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#213D68
secondary
#9C7B49
accent
#A34DDB
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213D68

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

Preview Lab → · Contrast checker → · Palette generator →

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