#23259C#23259C

#23259C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.185 H 271.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#23259C
RGBrgb(35, 37, 156)
HSLhsl(239, 63%, 37%)
HSVhsv(239, 78%, 61%)
CMYKcmyk(77.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(23.93, 40.92, -63.91)
CIE-LCHlch(23.93, 75.89, 302.63°)
OKLaboklab(36.17% 0.0053 -0.185)
OKLCHoklch(36.17% 0.185 271.6)
XYZxyz(7.3534, 4.0800, 31.8460)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23259C #9C9A23
analogous
#23629C #23259C #5D239C
triadic
#23259C #9C2325 #259C23
tetradic
#23259C #9C2362 #9C9A23 #239C5D
square
#23259C #9C2362 #9C9A23 #239C5D
split-complementary
#23259C #9C5D23 #629C23
monochromatic
#0D0D38 #18196A #23259C #2E31CE #5E60DB

Accessibility & contrast

On white

11.56
#23259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#23259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23259C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23259C#FFFFFF#000000##FFFFFF
##23259C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23259c;
/* rgb */ color: rgb(35, 37, 156);
/* oklch */ color: oklch(36.2% 0.185 271.6);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#23259c',
    950: '#000000',
  },
}
SCSS
$custom: #23259c;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23259c",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 239.008,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.18508,
    "h": 271.6
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#23259C
secondary
#C0BE5B
accent
#E441E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23259C

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

Preview Lab → · Contrast checker → · Palette generator →

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