#23219E#23219E

#23219E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.191 H 271.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#23219E
RGBrgb(35, 33, 158)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 62%)
CMYKcmyk(77.8%, 79.1%, 0%, 38%)
CIE-LABlab(23.38, 43.82, -66.04)
CIE-LCHlch(23.38, 79.26, 303.56°)
OKLaboklab(35.84% 0.0064 -0.1912)
OKLCHoklch(35.84% 0.191 271.9)
XYZxyz(7.4065, 3.9129, 32.7060)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23219E #9C9E21
analogous
#215E9E #23219E #62219E
triadic
#23219E #9E2321 #219E23
tetradic
#23219E #9E215E #9C9E21 #219E62
square
#23219E #9E215E #9C9E21 #219E62
split-complementary
#23219E #9E6221 #5E9E21
monochromatic
#0D0C39 #18166B #23219E #2E2CD1 #5E5CDD

Accessibility & contrast

On white

11.78
#23219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#23219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23219E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23219E#FFFFFF#000000##FFFFFF
##23219E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23219e;
/* rgb */ color: rgb(35, 33, 158);
/* oklch */ color: oklch(35.8% 0.191 271.9);
Tailwind
colors: {
  custom: {
    50: '#755fbc',
    500: '#23219e',
    950: '#000000',
  },
}
SCSS
$custom: #23219e;
$custom-light: #755fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#23219e",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 240.96,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35842,
    "c": 0.19128,
    "h": 271.9
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#23219E
secondary
#C0C159
accent
#E83FE6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23219E

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

Preview Lab → · Contrast checker → · Palette generator →

#23219E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva