#213457#213457

#213457 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.7% C 0.067 H 261.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#213457
RGBrgb(33, 52, 87)
HSLhsl(219, 45%, 24%)
HSVhsv(219, 62%, 34%)
CMYKcmyk(62.1%, 40.2%, 0%, 65.9%)
CIE-LABlab(21.83, 4.49, -23.48)
CIE-LCHlch(21.83, 23.90, 280.82°)
OKLaboklab(32.75% -0.0096 -0.0665)
OKLCHoklch(32.75% 0.067 261.8)
XYZxyz(3.5749, 3.4671, 9.4958)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213457 #574421
analogous
#214F57 #213457 #292157
triadic
#213457 #572134 #345721
tetradic
#213457 #57214F #574421 #215729
square
#213457 #57214F #574421 #215729
split-complementary
#213457 #572921 #4F5721
monochromatic
#080D16 #10192B #213457 #324F83 #4369B0

Accessibility & contrast

On white

12.40
#213457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#213457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213457
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213457#FFFFFF#000000##FFFFFF
##2134571.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253758
Deuteranopia (green-blind)
#1F3256
Tritanopia (blue-blind)
#003C41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213457;
/* rgb */ color: rgb(33, 52, 87);
/* oklch */ color: oklch(32.7% 0.067 261.8);
Tailwind
colors: {
  custom: {
    50: '#616b86',
    500: '#213457',
    950: '#000000',
  },
}
SCSS
$custom: #213457;
$custom-light: #616b86;
$custom-dark: #000000;
JSON
{
  "hex": "#213457",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 87
  },
  "hsl": {
    "h": 218.889,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32746,
    "c": 0.06718,
    "h": 261.8
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#213457
secondary
#8B7449
accent
#A753D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #213457

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

Preview Lab → · Contrast checker → · Palette generator →

#213457 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva