#23219D#23219D

#23219D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.190 H 272.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#23219D
RGBrgb(35, 33, 157)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 62%)
CMYKcmyk(77.7%, 79%, 0%, 38.4%)
CIE-LABlab(23.27, 43.49, -65.62)
CIE-LCHlch(23.27, 78.72, 303.53°)
OKLaboklab(35.73% 0.0066 -0.1899)
OKLCHoklch(35.73% 0.19 272)
XYZxyz(7.3207, 3.8786, 32.2546)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23219D #9B9D21
analogous
#215D9D #23219D #61219D
triadic
#23219D #9D2321 #219D23
tetradic
#23219D #9D215D #9B9D21 #219D61
square
#23219D #9D215D #9B9D21 #219D61
split-complementary
#23219D #9D6121 #5D9D21
monochromatic
#0C0C38 #18166A #23219D #2E2CD0 #5E5CDD

Accessibility & contrast

On white

11.83
#23219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23219D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23219D#FFFFFF#000000##FFFFFF
##23219D1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23219d;
/* rgb */ color: rgb(35, 33, 157);
/* oklch */ color: oklch(35.7% 0.190 272.0);
Tailwind
colors: {
  custom: {
    50: '#745fbb',
    500: '#23219d',
    950: '#000000',
  },
}
SCSS
$custom: #23219d;
$custom-light: #745fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#23219d",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 240.968,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35728,
    "c": 0.19006,
    "h": 272
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#23219D
secondary
#BFC159
accent
#E840E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23219D

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

Preview Lab → · Contrast checker → · Palette generator →

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