#23239C#23239C

#23239C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.187 H 271.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#23239C
RGBrgb(35, 35, 156)
HSLhsl(240, 63%, 37%)
HSVhsv(240, 78%, 61%)
CMYKcmyk(77.6%, 77.6%, 0%, 38.8%)
CIE-LABlab(23.54, 42.06, -64.57)
CIE-LCHlch(23.54, 77.06, 303.08°)
OKLaboklab(35.88% 0.0061 -0.1869)
OKLCHoklch(35.88% 0.187 271.9)
XYZxyz(7.2929, 3.9589, 31.8258)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23239C #9C9C23
analogous
#23609C #23239C #60239C
triadic
#23239C #9C2323 #239C23
tetradic
#23239C #9C2360 #9C9C23 #239C60
square
#23239C #9C2360 #9C9C23 #239C60
split-complementary
#23239C #9C6023 #609C23
monochromatic
#0D0D38 #18186A #23239C #2E2ECE #5E5EDB

Accessibility & contrast

On white

11.72
#23239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#23239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23239C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23239C#FFFFFF#000000##FFFFFF
##23239C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23239c;
/* rgb */ color: rgb(35, 35, 156);
/* oklch */ color: oklch(35.9% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#7460ba',
    500: '#23239c',
    950: '#000000',
  },
}
SCSS
$custom: #23239c;
$custom-light: #7460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23239c",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35884,
    "c": 0.18701,
    "h": 271.9
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#23239C
secondary
#C0C05B
accent
#E641E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23239C

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

Preview Lab → · Contrast checker → · Palette generator →

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