#23239A#23239A

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

Color values

HEX#23239A
RGBrgb(35, 35, 154)
HSLhsl(240, 63%, 37%)
HSVhsv(240, 77%, 60%)
CMYKcmyk(77.3%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.31, 41.38, -63.71)
CIE-LCHlch(23.31, 75.97, 303.00°)
OKLaboklab(35.66% 0.0065 -0.1844)
OKLCHoklch(35.66% 0.185 272)
XYZxyz(7.1249, 3.8917, 30.9413)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23239A #9A9A23
analogous
#235F9A #23239A #5F239A
triadic
#23239A #9A2323 #239A23
tetradic
#23239A #9A235F #9A9A23 #239A5F
square
#23239A #9A235F #9A9A23 #239A5F
split-complementary
#23239A #9A5F23 #5F9A23
monochromatic
#0C0C36 #181868 #23239A #2E2ECC #5D5DDA

Accessibility & contrast

On white

11.81
#23239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#23239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23239A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23239A#FFFFFF#000000##FFFFFF
##23239A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23239a;
/* rgb */ color: rgb(35, 35, 154);
/* oklch */ color: oklch(35.7% 0.185 272.0);
Tailwind
colors: {
  custom: {
    50: '#7360b9',
    500: '#23239a',
    950: '#000000',
  },
}
SCSS
$custom: #23239a;
$custom-light: #7360b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23239a",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35659,
    "c": 0.18454,
    "h": 272
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23239A

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

Preview Lab → · Contrast checker → · Palette generator →

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