#213294#213294

#213294 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.161 H 269.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#213294
RGBrgb(33, 50, 148)
HSLhsl(231, 64%, 35%)
HSVhsv(231, 78%, 58%)
CMYKcmyk(77.7%, 66.2%, 0%, 42%)
CIE-LABlab(25.99, 29.71, -55.62)
CIE-LCHlch(25.99, 63.06, 298.11°)
OKLaboklab(37.37% -0.0025 -0.1609)
OKLCHoklch(37.37% 0.161 269.1)
XYZxyz(7.1113, 4.7419, 28.5517)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213294 #948321
analogous
#216C94 #213294 #492194
triadic
#213294 #942132 #329421
tetradic
#213294 #94216C #948321 #219449
square
#213294 #94216C #948321 #219449
split-complementary
#213294 #944921 #6C9421
monochromatic
#0B1030 #162162 #213294 #2C43C6 #5669D9

Accessibility & contrast

On white

10.78
#213294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213294
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213294#FFFFFF#000000##FFFFFF
##2132941.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213294;
/* rgb */ color: rgb(33, 50, 148);
/* oklch */ color: oklch(37.4% 0.161 269.1);
Tailwind
colors: {
  custom: {
    50: '#706ab4',
    500: '#213294',
    950: '#000000',
  },
}
SCSS
$custom: #213294;
$custom-light: #706ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#213294",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 231.13,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37372,
    "c": 0.16093,
    "h": 269.1
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213294

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

Preview Lab → · Contrast checker → · Palette generator →

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