#213B74#213B74

#213B74 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.103 H 263.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#213B74
RGBrgb(33, 59, 116)
HSLhsl(221, 56%, 29%)
HSVhsv(221, 72%, 45%)
CMYKcmyk(71.6%, 49.1%, 0%, 54.5%)
CIE-LABlab(25.90, 10.94, -35.77)
CIE-LCHlch(25.90, 37.40, 287.00°)
OKLaboklab(36.49% -0.0114 -0.1024)
OKLCHoklch(36.49% 0.103 263.7)
XYZxyz(5.3424, 4.7117, 17.1475)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B74 #745A21
analogous
#216574 #213B74 #312174
triadic
#213B74 #74213B #3B7421
tetradic
#213B74 #742165 #745A21 #217431
square
#213B74 #742165 #745A21 #217431
split-complementary
#213B74 #743121 #657421
monochromatic
#070C18 #132344 #213B74 #2F53A4 #456FCA

Accessibility & contrast

On white

10.81
#213B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B74
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B74#FFFFFF#000000##FFFFFF
##213B741.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#0B3A73
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213b74;
/* rgb */ color: rgb(33, 59, 116);
/* oklch */ color: oklch(36.5% 0.103 263.7);
Tailwind
colors: {
  custom: {
    50: '#67709c',
    500: '#213b74',
    950: '#000000',
  },
}
SCSS
$custom: #213b74;
$custom-light: #67709c;
$custom-dark: #000000;
JSON
{
  "hex": "#213b74",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 116
  },
  "hsl": {
    "h": 221.205,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36491,
    "c": 0.10308,
    "h": 263.7
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#213B74
secondary
#A78A49
accent
#B049DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213B74

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

Preview Lab → · Contrast checker → · Palette generator →

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