#213292#213292

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

Color values

HEX#213292
RGBrgb(33, 50, 146)
HSLhsl(231, 63%, 35%)
HSVhsv(231, 77%, 57%)
CMYKcmyk(77.4%, 65.8%, 0%, 42.7%)
CIE-LABlab(25.80, 28.95, -54.70)
CIE-LCHlch(25.80, 61.89, 297.89°)
OKLaboklab(37.18% -0.0024 -0.1582)
OKLCHoklch(37.18% 0.158 269.1)
XYZxyz(6.9543, 4.6791, 27.7252)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213292 #928121
analogous
#216B92 #213292 #482192
triadic
#213292 #922132 #329221
tetradic
#213292 #92216B #928121 #219248
square
#213292 #92216B #928121 #219248
split-complementary
#213292 #924821 #6B9221
monochromatic
#0A102E #162160 #213292 #2C43C4 #5569D9

Accessibility & contrast

On white

10.85
#213292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213292
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213292#FFFFFF#000000##FFFFFF
##2132921.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213292;
/* rgb */ color: rgb(33, 50, 146);
/* oklch */ color: oklch(37.2% 0.158 269.1);
Tailwind
colors: {
  custom: {
    50: '#6f69b3',
    500: '#213292',
    950: '#000000',
  },
}
SCSS
$custom: #213292;
$custom-light: #6f69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#213292",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 230.973,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37178,
    "c": 0.15822,
    "h": 269.1
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#213292
secondary
#BCAC53
accent
#CD42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213292

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

Preview Lab → · Contrast checker → · Palette generator →

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