#213681#213681

#213681 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.129 H 267.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#213681
RGBrgb(33, 54, 129)
HSLhsl(227, 59%, 32%)
HSVhsv(227, 74%, 51%)
CMYKcmyk(74.4%, 58.1%, 0%, 49.4%)
CIE-LABlab(25.40, 19.61, -44.78)
CIE-LCHlch(25.40, 48.88, 293.65°)
OKLaboklab(36.42% -0.0053 -0.129)
OKLCHoklch(36.42% 0.129 267.6)
XYZxyz(5.9074, 4.5460, 21.3308)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213681 #816C21
analogous
#216681 #213681 #3C2181
triadic
#213681 #812136 #368121
tetradic
#213681 #812166 #816C21 #21813C
square
#213681 #812166 #816C21 #21813C
split-complementary
#213681 #813C21 #668121
monochromatic
#080D20 #152250 #213681 #2D4AB2 #4B69D1

Accessibility & contrast

On white

11.00
#213681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#213681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213681
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213681#FFFFFF#000000##FFFFFF
##2136811.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213681;
/* rgb */ color: rgb(33, 54, 129);
/* oklch */ color: oklch(36.4% 0.129 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a6ca6',
    500: '#213681',
    950: '#000000',
  },
}
SCSS
$custom: #213681;
$custom-light: #6a6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#213681",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 129
  },
  "hsl": {
    "h": 226.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36423,
    "c": 0.12915,
    "h": 267.6
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#213681
secondary
#B49D4A
accent
#C045E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213681

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

Preview Lab → · Contrast checker → · Palette generator →

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