#23219A#23219A

#23219A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.186 H 272.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#23219A
RGBrgb(35, 33, 154)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 60%)
CMYKcmyk(77.3%, 78.6%, 0%, 39.6%)
CIE-LABlab(22.92, 42.49, -64.36)
CIE-LCHlch(22.92, 77.12, 303.44°)
OKLaboklab(35.39% 0.0072 -0.1863)
OKLCHoklch(35.39% 0.186 272.2)
XYZxyz(7.0678, 3.7774, 30.9222)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23219A #989A21
analogous
#215C9A #23219A #60219A
triadic
#23219A #9A2321 #219A23
tetradic
#23219A #9A215C #989A21 #219A60
square
#23219A #9A215C #989A21 #219A60
split-complementary
#23219A #9A6021 #5C9A21
monochromatic
#0C0B35 #181668 #23219A #2E2CCC #5C5ADC

Accessibility & contrast

On white

11.96
#23219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#23219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23219A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23219A#FFFFFF#000000##FFFFFF
##23219A1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23219a;
/* rgb */ color: rgb(35, 33, 154);
/* oklch */ color: oklch(35.4% 0.186 272.2);
Tailwind
colors: {
  custom: {
    50: '#745fb9',
    500: '#23219a',
    950: '#000000',
  },
}
SCSS
$custom: #23219a;
$custom-light: #745fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#23219a",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 240.992,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35385,
    "c": 0.18641,
    "h": 272.2
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#23219A
secondary
#BEC057
accent
#E840E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23219A

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

Preview Lab → · Contrast checker → · Palette generator →

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