#23259B#23259B

#23259B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.184 H 271.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#23259B
RGBrgb(35, 37, 155)
HSLhsl(239, 63%, 37%)
HSVhsv(239, 77%, 61%)
CMYKcmyk(77.4%, 76.1%, 0%, 39.2%)
CIE-LABlab(23.82, 40.58, -63.48)
CIE-LCHlch(23.82, 75.34, 302.59°)
OKLaboklab(36.06% 0.0055 -0.1838)
OKLCHoklch(36.06% 0.184 271.7)
XYZxyz(7.2691, 4.0462, 31.4019)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23259B #9B9923
analogous
#23619B #23259B #5D239B
triadic
#23259B #9B2325 #259B23
tetradic
#23259B #9B2361 #9B9923 #239B5D
square
#23259B #9B2361 #9B9923 #239B5D
split-complementary
#23259B #9B5D23 #619B23
monochromatic
#0C0D37 #181969 #23259B #2E31CD #5E60DB

Accessibility & contrast

On white

11.61
#23259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#23259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23259B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23259B#FFFFFF#000000##FFFFFF
##23259B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23259b;
/* rgb */ color: rgb(35, 37, 155);
/* oklch */ color: oklch(36.1% 0.184 271.7);
Tailwind
colors: {
  custom: {
    50: '#7361ba',
    500: '#23259b',
    950: '#000000',
  },
}
SCSS
$custom: #23259b;
$custom-light: #7361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23259b",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 239,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36055,
    "c": 0.18384,
    "h": 271.7
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#23259B
secondary
#BFBE5A
accent
#E342E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23259B

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

Preview Lab → · Contrast checker → · Palette generator →

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