#213866#213866

#213866 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.086 H 262.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#213866
RGBrgb(33, 56, 102)
HSLhsl(220, 51%, 26%)
HSVhsv(220, 68%, 40%)
CMYKcmyk(67.6%, 45.1%, 0%, 60%)
CIE-LABlab(24.03, 7.50, -29.78)
CIE-LCHlch(24.03, 30.71, 284.13°)
OKLaboklab(34.76% -0.0108 -0.0849)
OKLCHoklch(34.76% 0.086 262.7)
XYZxyz(4.4388, 4.1106, 13.1273)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213866 #664F21
analogous
#215B66 #213866 #2D2166
triadic
#213866 #662138 #386621
tetradic
#213866 #66215B #664F21 #21662D
square
#213866 #66215B #664F21 #21662D
split-complementary
#213866 #662D21 #5B6621
monochromatic
#070D17 #121F38 #213866 #305194 #406BC1

Accessibility & contrast

On white

11.52
#213866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#213866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213866
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213866#FFFFFF#000000##FFFFFF
##2138661.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233D68
Deuteranopia (green-blind)
#183665
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213866;
/* rgb */ color: rgb(33, 56, 102);
/* oklch */ color: oklch(34.8% 0.086 262.7);
Tailwind
colors: {
  custom: {
    50: '#646e92',
    500: '#213866',
    950: '#000000',
  },
}
SCSS
$custom: #213866;
$custom-light: #646e92;
$custom-dark: #000000;
JSON
{
  "hex": "#213866",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 102
  },
  "hsl": {
    "h": 220,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34757,
    "c": 0.08559,
    "h": 262.7
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#213866
secondary
#9A7F49
accent
#AB4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213866

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

Preview Lab → · Contrast checker → · Palette generator →

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