#213686#213686

#213686 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.136 H 267.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#213686
RGBrgb(33, 54, 134)
HSLhsl(228, 60%, 33%)
HSVhsv(228, 75%, 53%)
CMYKcmyk(75.4%, 59.7%, 0%, 47.5%)
CIE-LABlab(25.81, 21.58, -47.24)
CIE-LCHlch(25.81, 51.93, 294.55°)
OKLaboklab(36.86% -0.0051 -0.1363)
OKLCHoklch(36.86% 0.136 267.8)
XYZxyz(6.2479, 4.6822, 23.1241)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213686 #867121
analogous
#216886 #213686 #3F2186
triadic
#213686 #862136 #368621
tetradic
#213686 #862168 #867121 #21863F
square
#213686 #862168 #867121 #21863F
split-complementary
#213686 #863F21 #688621
monochromatic
#090E24 #152255 #213686 #2D4AB7 #4E6AD3

Accessibility & contrast

On white

10.84
#213686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213686
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213686#FFFFFF#000000##FFFFFF
##2136861.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213686;
/* rgb */ color: rgb(33, 54, 134);
/* oklch */ color: oklch(36.9% 0.136 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c6caa',
    500: '#213686',
    950: '#000000',
  },
}
SCSS
$custom: #213686;
$custom-light: #6c6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#213686",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 227.525,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36858,
    "c": 0.13638,
    "h": 267.8
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#213686
secondary
#B7A04C
accent
#C244E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213686

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

Preview Lab → · Contrast checker → · Palette generator →

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