#213F79#213F79

#213F79 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.105 H 262.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#213F79
RGBrgb(33, 63, 121)
HSLhsl(220, 57%, 30%)
HSVhsv(220, 73%, 47%)
CMYKcmyk(72.7%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.46, 10.15, -36.42)
CIE-LCHlch(27.46, 37.81, 285.57°)
OKLaboklab(37.8% -0.0146 -0.1043)
OKLCHoklch(37.8% 0.105 262.1)
XYZxyz(5.8547, 5.2582, 18.7918)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F79 #795B21
analogous
#216B79 #213F79 #2F2179
triadic
#213F79 #79213F #3F7921
tetradic
#213F79 #79216B #795B21 #21792F
square
#213F79 #79216B #795B21 #21792F
split-complementary
#213F79 #792F21 #6B7921
monochromatic
#070D19 #142649 #213F79 #2E58A9 #4775CD

Accessibility & contrast

On white

10.23
#213F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F79
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F79#FFFFFF#000000##FFFFFF
##213F791.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#0F3D78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213f79;
/* rgb */ color: rgb(33, 63, 121);
/* oklch */ color: oklch(37.8% 0.105 262.1);
Tailwind
colors: {
  custom: {
    50: '#6873a0',
    500: '#213f79',
    950: '#000000',
  },
}
SCSS
$custom: #213f79;
$custom-light: #6873a0;
$custom-dark: #000000;
JSON
{
  "hex": "#213f79",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 219.545,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37798,
    "c": 0.10532,
    "h": 262.1
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#213F79
secondary
#AC8B4A
accent
#AC47E0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #213F79

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

Preview Lab → · Contrast checker → · Palette generator →

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