#23219B#23219B

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

Color values

HEX#23219B
RGBrgb(35, 33, 155)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 61%)
CMYKcmyk(77.4%, 78.7%, 0%, 39.2%)
CIE-LABlab(23.04, 42.83, -64.78)
CIE-LCHlch(23.04, 77.66, 303.47°)
OKLaboklab(35.5% 0.007 -0.1875)
OKLCHoklch(35.5% 0.188 272.1)
XYZxyz(7.1514, 3.8108, 31.3627)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23219B #999B21
analogous
#215C9B #23219B #60219B
triadic
#23219B #9B2321 #219B23
tetradic
#23219B #9B215C #999B21 #219B60
square
#23219B #9B215C #999B21 #219B60
split-complementary
#23219B #9B6021 #5C9B21
monochromatic
#0C0C36 #181669 #23219B #2E2CCD #5D5ADC

Accessibility & contrast

On white

11.92
#23219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23219B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23219B#FFFFFF#000000##FFFFFF
##23219B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23219b;
/* rgb */ color: rgb(35, 33, 155);
/* oklch */ color: oklch(35.5% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#745fba',
    500: '#23219b',
    950: '#000000',
  },
}
SCSS
$custom: #23219b;
$custom-light: #745fba;
$custom-dark: #000000;
JSON
{
  "hex": "#23219b",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 240.984,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.18763,
    "h": 272.1
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23219B

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

Preview Lab → · Contrast checker → · Palette generator →

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