#213693#213693

#213693 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.155 H 268.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#213693
RGBrgb(33, 54, 147)
HSLhsl(229, 63%, 35%)
HSVhsv(229, 78%, 58%)
CMYKcmyk(77.6%, 63.3%, 0%, 42.4%)
CIE-LABlab(26.93, 26.64, -53.47)
CIE-LCHlch(26.93, 59.74, 296.49°)
OKLaboklab(38.04% -0.0051 -0.1546)
OKLCHoklch(38.04% 0.155 268.1)
XYZxyz(7.2110, 5.0675, 28.1962)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213693 #937E21
analogous
#216F93 #213693 #452193
triadic
#213693 #932136 #369321
tetradic
#213693 #93216F #937E21 #219345
square
#213693 #93216F #937E21 #219345
split-complementary
#213693 #934521 #6F9321
monochromatic
#0B112F #162461 #213693 #2C48C5 #556ED9

Accessibility & contrast

On white

10.43
#213693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213693
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213693#FFFFFF#000000##FFFFFF
##2136931.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213693;
/* rgb */ color: rgb(33, 54, 147);
/* oklch */ color: oklch(38.0% 0.155 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f6cb4',
    500: '#213693',
    950: '#000000',
  },
}
SCSS
$custom: #213693;
$custom-light: #6f6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#213693",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 147
  },
  "hsl": {
    "h": 228.947,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38036,
    "c": 0.15464,
    "h": 268.1
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#213693
secondary
#BDA953
accent
#C841E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213693

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

Preview Lab → · Contrast checker → · Palette generator →

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