#213E6F#213E6F

#213E6F is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.092 H 260.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#213E6F
RGBrgb(33, 62, 111)
HSLhsl(218, 54%, 28%)
HSVhsv(218, 70%, 44%)
CMYKcmyk(70.3%, 44.1%, 0%, 56.5%)
CIE-LABlab(26.49, 6.87, -31.63)
CIE-LCHlch(26.49, 32.37, 282.25°)
OKLaboklab(36.84% -0.0155 -0.0902)
OKLCHoklch(36.84% 0.092 260.2)
XYZxyz(5.2180, 4.9158, 15.7097)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E6F #6F5221
analogous
#21656F #213E6F #2B216F
triadic
#213E6F #6F213E #3E6F21
tetradic
#213E6F #6F2165 #6F5221 #216F2B
square
#213E6F #6F2165 #6F5221 #216F2B
split-complementary
#213E6F #6F2B21 #656F21
monochromatic
#070D18 #132440 #213E6F #2F589E #4374C7

Accessibility & contrast

On white

10.59
#213E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213E6F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E6F#FFFFFF#000000##FFFFFF
##213E6F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274371
Deuteranopia (green-blind)
#1B3B6E
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213e6f;
/* rgb */ color: rgb(33, 62, 111);
/* oklch */ color: oklch(36.8% 0.092 260.2);
Tailwind
colors: {
  custom: {
    50: '#667298',
    500: '#213e6f',
    950: '#000000',
  },
}
SCSS
$custom: #213e6f;
$custom-light: #667298;
$custom-dark: #000000;
JSON
{
  "hex": "#213e6f",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 111
  },
  "hsl": {
    "h": 217.692,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36843,
    "c": 0.09157,
    "h": 260.2
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#213E6F
secondary
#A38149
accent
#A74ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #213E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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