#213293#213293

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

Color values

HEX#213293
RGBrgb(33, 50, 147)
HSLhsl(231, 63%, 35%)
HSVhsv(231, 78%, 58%)
CMYKcmyk(77.6%, 66%, 0%, 42.4%)
CIE-LABlab(25.89, 29.33, -55.16)
CIE-LCHlch(25.89, 62.47, 298.00°)
OKLaboklab(37.28% -0.0025 -0.1595)
OKLCHoklch(37.28% 0.16 269.1)
XYZxyz(7.0324, 4.7104, 28.1367)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213293 #938221
analogous
#216B93 #213293 #492193
triadic
#213293 #932132 #329321
tetradic
#213293 #93216B #938221 #219349
square
#213293 #93216B #938221 #219349
split-complementary
#213293 #934921 #6B9321
monochromatic
#0B102F #162161 #213293 #2C43C5 #5569D9

Accessibility & contrast

On white

10.81
#213293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#213293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213293
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213293#FFFFFF#000000##FFFFFF
##2132931.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213293;
/* rgb */ color: rgb(33, 50, 147);
/* oklch */ color: oklch(37.3% 0.160 269.1);
Tailwind
colors: {
  custom: {
    50: '#6f6ab4',
    500: '#213293',
    950: '#000000',
  },
}
SCSS
$custom: #213293;
$custom-light: #6f6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#213293",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 231.053,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37275,
    "c": 0.15957,
    "h": 269.1
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#213293
secondary
#BDAD53
accent
#CE41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213293

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

Preview Lab → · Contrast checker → · Palette generator →

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