#23219C#23219C

#23219C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.189 H 272.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#23219C
RGBrgb(35, 33, 156)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 61%)
CMYKcmyk(77.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(23.15, 43.16, -65.20)
CIE-LCHlch(23.15, 78.19, 303.50°)
OKLaboklab(35.61% 0.0068 -0.1887)
OKLCHoklch(35.61% 0.189 272.1)
XYZxyz(7.2357, 3.8446, 31.8068)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23219C #9A9C21
analogous
#215C9C #23219C #61219C
triadic
#23219C #9C2321 #219C23
tetradic
#23219C #9C215C #9A9C21 #219C61
square
#23219C #9C215C #9A9C21 #219C61
split-complementary
#23219C #9C6121 #5C9C21
monochromatic
#0C0C37 #181669 #23219C #2E2CCF #5D5BDC

Accessibility & contrast

On white

11.87
#23219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#23219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23219C
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23219C#FFFFFF#000000##FFFFFF
##23219C1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00319A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23219c;
/* rgb */ color: rgb(35, 33, 156);
/* oklch */ color: oklch(35.6% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#745fbb',
    500: '#23219c',
    950: '#000000',
  },
}
SCSS
$custom: #23219c;
$custom-light: #745fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#23219c",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 240.976,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35613,
    "c": 0.18885,
    "h": 272.1
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23219C

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

Preview Lab → · Contrast checker → · Palette generator →

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