#213296#213296

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

Color values

HEX#213296
RGBrgb(33, 50, 150)
HSLhsl(231, 64%, 36%)
HSVhsv(231, 78%, 59%)
CMYKcmyk(78%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.17, 30.47, -56.54)
CIE-LCHlch(26.17, 64.23, 298.32°)
OKLaboklab(37.57% -0.0026 -0.1636)
OKLCHoklch(37.57% 0.164 269.1)
XYZxyz(7.2709, 4.8057, 29.3926)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213296 #968521
analogous
#216C96 #213296 #4A2196
triadic
#213296 #962132 #329621
tetradic
#213296 #96216C #968521 #21964A
square
#213296 #96216C #968521 #21964A
split-complementary
#213296 #964A21 #6C9621
monochromatic
#0B1132 #162164 #213296 #2C43C8 #576ADA

Accessibility & contrast

On white

10.71
#213296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#213296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213296
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213296#FFFFFF#000000##FFFFFF
##2132961.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213296;
/* rgb */ color: rgb(33, 50, 150);
/* oklch */ color: oklch(37.6% 0.164 269.1);
Tailwind
colors: {
  custom: {
    50: '#706ab6',
    500: '#213296',
    950: '#000000',
  },
}
SCSS
$custom: #213296;
$custom-light: #706ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#213296",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 231.282,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.16362,
    "h": 269.1
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#213296
secondary
#BEAF55
accent
#CF41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213296

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

Preview Lab → · Contrast checker → · Palette generator →

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