#213697#213697

#213697 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.160 H 268.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#213697
RGBrgb(33, 54, 151)
HSLhsl(229, 64%, 36%)
HSVhsv(229, 78%, 59%)
CMYKcmyk(78.1%, 64.2%, 0%, 40.8%)
CIE-LABlab(27.28, 28.18, -55.34)
CIE-LCHlch(27.28, 62.10, 296.99°)
OKLaboklab(38.41% -0.0051 -0.16)
OKLCHoklch(38.41% 0.16 268.2)
XYZxyz(7.5303, 5.1952, 29.8781)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213697 #978221
analogous
#217197 #213697 #472197
triadic
#213697 #972136 #369721
tetradic
#213697 #972171 #978221 #219747
square
#213697 #972171 #978221 #219747
split-complementary
#213697 #974721 #719721
monochromatic
#0B1233 #162465 #213697 #2C48C9 #586FDA

Accessibility & contrast

On white

10.30
#213697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#213697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213697
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213697#FFFFFF#000000##FFFFFF
##2136971.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213697;
/* rgb */ color: rgb(33, 54, 151);
/* oklch */ color: oklch(38.4% 0.160 268.2);
Tailwind
colors: {
  custom: {
    50: '#706cb6',
    500: '#213697',
    950: '#000000',
  },
}
SCSS
$custom: #213697;
$custom-light: #706cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#213697",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 229.322,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38411,
    "c": 0.16012,
    "h": 268.2
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#213697
secondary
#BEAC55
accent
#CA41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213697

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

Preview Lab → · Contrast checker → · Palette generator →

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