#213E8F#213E8F

#213E8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.139 H 265.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#213E8F
RGBrgb(33, 62, 143)
HSLhsl(224, 63%, 35%)
HSVhsv(224, 77%, 56%)
CMYKcmyk(76.9%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.78, 19.60, -47.99)
CIE-LCHlch(28.78, 51.84, 292.21°)
OKLaboklab(39.31% -0.011 -0.1384)
OKLCHoklch(39.31% 0.139 265.5)
XYZxyz(7.3060, 5.7509, 26.7063)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E8F #8F7221
analogous
#21758F #213E8F #3B218F
triadic
#213E8F #8F213E #3E8F21
tetradic
#213E8F #8F2175 #8F7221 #218F3B
square
#213E8F #8F2175 #8F7221 #218F3B
split-complementary
#213E8F #8F3B21 #758F21
monochromatic
#0A132C #16285D #213E8F #2C54C1 #5376D7

Accessibility & contrast

On white

9.77
#213E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#213E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E8F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E8F#FFFFFF#000000##FFFFFF
##213E8F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213e8f;
/* rgb */ color: rgb(33, 62, 143);
/* oklch */ color: oklch(39.3% 0.139 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d72b0',
    500: '#213e8f',
    950: '#000000',
  },
}
SCSS
$custom: #213e8f;
$custom-light: #6d72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#213e8f",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 224.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.1388,
    "h": 265.5
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#213E8F
secondary
#BB9F51
accent
#BB42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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