#23259F#23259F

#23259F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.189 H 271.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#23259F
RGBrgb(35, 37, 159)
HSLhsl(239, 64%, 38%)
HSVhsv(239, 78%, 62%)
CMYKcmyk(78%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.27, 41.94, -65.19)
CIE-LCHlch(24.27, 77.52, 302.76°)
OKLaboklab(36.5% 0.0047 -0.1887)
OKLCHoklch(36.5% 0.189 271.4)
XYZxyz(7.6106, 4.1828, 33.2004)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23259F #9F9D23
analogous
#23639F #23259F #5F239F
triadic
#23259F #9F2325 #259F23
tetradic
#23259F #9F2363 #9F9D23 #239F5F
square
#23259F #9F2363 #9F9D23 #239F5F
split-complementary
#23259F #9F5F23 #639F23
monochromatic
#0D0E3B #18196D #23259F #2E31D1 #6062DC

Accessibility & contrast

On white

11.43
#23259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#23259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23259F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23259F#FFFFFF#000000##FFFFFF
##23259F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23259f;
/* rgb */ color: rgb(35, 37, 159);
/* oklch */ color: oklch(36.5% 0.189 271.4);
Tailwind
colors: {
  custom: {
    50: '#7461bd',
    500: '#23259f',
    950: '#000000',
  },
}
SCSS
$custom: #23259f;
$custom-light: #7461bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23259f",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 239.032,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.1888,
    "h": 271.4
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#23259F
secondary
#C1BF5D
accent
#E441E7
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23259F

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

Preview Lab → · Contrast checker → · Palette generator →

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