#213795#213795

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

Color values

HEX#213795
RGBrgb(33, 55, 149)
HSLhsl(229, 64%, 36%)
HSVhsv(229, 78%, 58%)
CMYKcmyk(77.9%, 63.1%, 0%, 41.6%)
CIE-LABlab(27.37, 26.74, -53.98)
CIE-LCHlch(27.37, 60.24, 296.35°)
OKLaboklab(38.42% -0.0057 -0.156)
OKLCHoklch(38.42% 0.156 267.9)
XYZxyz(7.4163, 5.2248, 29.0456)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213795 #957F21
analogous
#217195 #213795 #452195
triadic
#213795 #952137 #379521
tetradic
#213795 #952171 #957F21 #219545
square
#213795 #952171 #957F21 #219545
split-complementary
#213795 #954521 #719521
monochromatic
#0B1231 #162563 #213795 #2C49C7 #5770DA

Accessibility & contrast

On white

10.27
#213795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213795
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213795#FFFFFF#000000##FFFFFF
##2137951.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213795;
/* rgb */ color: rgb(33, 55, 149);
/* oklch */ color: oklch(38.4% 0.156 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f6db5',
    500: '#213795',
    950: '#000000',
  },
}
SCSS
$custom: #213795;
$custom-light: #6f6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#213795",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 228.621,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.15615,
    "h": 267.9
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#213795
secondary
#BEAA54
accent
#C741E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213795

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

Preview Lab → · Contrast checker → · Palette generator →

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