#213295#213295

#213295 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.162 H 269.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#213295
RGBrgb(33, 50, 149)
HSLhsl(231, 64%, 36%)
HSVhsv(231, 78%, 58%)
CMYKcmyk(77.9%, 66.4%, 0%, 41.6%)
CIE-LABlab(26.08, 30.09, -56.08)
CIE-LCHlch(26.08, 63.65, 298.21°)
OKLaboklab(37.47% -0.0026 -0.1623)
OKLCHoklch(37.47% 0.162 269.1)
XYZxyz(7.1907, 4.7737, 28.9704)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213295 #958421
analogous
#216C95 #213295 #4A2195
triadic
#213295 #952132 #329521
tetradic
#213295 #95216C #958421 #21954A
square
#213295 #95216C #958421 #21954A
split-complementary
#213295 #954A21 #6C9521
monochromatic
#0B1031 #162163 #213295 #2C43C7 #576ADA

Accessibility & contrast

On white

10.74
#213295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213295
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213295#FFFFFF#000000##FFFFFF
##2132951.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213295;
/* rgb */ color: rgb(33, 50, 149);
/* oklch */ color: oklch(37.5% 0.162 269.1);
Tailwind
colors: {
  custom: {
    50: '#706ab5',
    500: '#213295',
    950: '#000000',
  },
}
SCSS
$custom: #213295;
$custom-light: #706ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#213295",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 231.207,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37469,
    "c": 0.16228,
    "h": 269.1
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#213295
secondary
#BEAE54
accent
#CE41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213295

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

Preview Lab → · Contrast checker → · Palette generator →

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