#213B7C#213B7C

#213B7C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.115 H 264.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#213B7C
RGBrgb(33, 59, 124)
HSLhsl(223, 58%, 31%)
HSVhsv(223, 73%, 49%)
CMYKcmyk(73.4%, 52.4%, 0%, 51.4%)
CIE-LABlab(26.46, 14.13, -39.91)
CIE-LCHlch(26.46, 42.34, 289.49°)
OKLaboklab(37.11% -0.0102 -0.1146)
OKLCHoklch(37.11% 0.115 264.9)
XYZxyz(5.8280, 4.9059, 19.7047)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B7C #7C6221
analogous
#21687C #213B7C #34217C
triadic
#213B7C #7C213B #3B7C21
tetradic
#213B7C #7C2168 #7C6221 #217C34
square
#213B7C #7C2168 #7C6221 #217C34
split-complementary
#213B7C #7C3421 #687C21
monochromatic
#070D1B #14244C #213B7C #2E52AC #496FCF

Accessibility & contrast

On white

10.60
#213B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#213B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B7C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B7C#FFFFFF#000000##FFFFFF
##213B7C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213b7c;
/* rgb */ color: rgb(33, 59, 124);
/* oklch */ color: oklch(37.1% 0.115 264.9);
Tailwind
colors: {
  custom: {
    50: '#6970a2',
    500: '#213b7c',
    950: '#000000',
  },
}
SCSS
$custom: #213b7c;
$custom-light: #6970a2;
$custom-dark: #000000;
JSON
{
  "hex": "#213b7c",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 222.857,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37106,
    "c": 0.1151,
    "h": 264.9
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#213B7C
secondary
#AF924A
accent
#B547E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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