#23239B#23239B

#23239B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.186 H 271.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#23239B
RGBrgb(35, 35, 155)
HSLhsl(240, 63%, 37%)
HSVhsv(240, 77%, 61%)
CMYKcmyk(77.4%, 77.4%, 0%, 39.2%)
CIE-LABlab(23.42, 41.72, -64.14)
CIE-LCHlch(23.42, 76.51, 303.04°)
OKLaboklab(35.77% 0.0063 -0.1857)
OKLCHoklch(35.77% 0.186 271.9)
XYZxyz(7.2086, 3.9252, 31.3817)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23239B #9B9B23
analogous
#235F9B #23239B #5F239B
triadic
#23239B #9B2323 #239B23
tetradic
#23239B #9B235F #9B9B23 #239B5F
square
#23239B #9B235F #9B9B23 #239B5F
split-complementary
#23239B #9B5F23 #5F9B23
monochromatic
#0C0C37 #181869 #23239B #2E2ECD #5E5EDB

Accessibility & contrast

On white

11.76
#23239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23239B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23239B#FFFFFF#000000##FFFFFF
##23239B1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23239b;
/* rgb */ color: rgb(35, 35, 155);
/* oklch */ color: oklch(35.8% 0.186 271.9);
Tailwind
colors: {
  custom: {
    50: '#7460ba',
    500: '#23239b',
    950: '#000000',
  },
}
SCSS
$custom: #23239b;
$custom-light: #7460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23239b",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35771,
    "c": 0.18578,
    "h": 271.9
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#23239B
secondary
#BFBF5A
accent
#E642E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23239B

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

Preview Lab → · Contrast checker → · Palette generator →

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