#23259D#23259D

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

Color values

HEX#23259D
RGBrgb(35, 37, 157)
HSLhsl(239, 64%, 38%)
HSVhsv(239, 78%, 62%)
CMYKcmyk(77.7%, 76.4%, 0%, 38.4%)
CIE-LABlab(24.04, 41.26, -64.33)
CIE-LCHlch(24.04, 76.43, 302.68°)
OKLaboklab(36.28% 0.0051 -0.1863)
OKLCHoklch(36.28% 0.186 271.6)
XYZxyz(7.4385, 4.1140, 32.2938)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23259D #9D9B23
analogous
#23629D #23259D #5E239D
triadic
#23259D #9D2325 #259D23
tetradic
#23259D #9D2362 #9D9B23 #239D5E
square
#23259D #9D2362 #9D9B23 #239D5E
split-complementary
#23259D #9D5E23 #629D23
monochromatic
#0D0D39 #18196B #23259D #2E31CF #5F61DB

Accessibility & contrast

On white

11.52
#23259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23259D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23259D#FFFFFF#000000##FFFFFF
##23259D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23259d;
/* rgb */ color: rgb(35, 37, 157);
/* oklch */ color: oklch(36.3% 0.186 271.6);
Tailwind
colors: {
  custom: {
    50: '#7461bb',
    500: '#23259d',
    950: '#000000',
  },
}
SCSS
$custom: #23259d;
$custom-light: #7461bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23259d",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 239.016,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36277,
    "c": 0.18633,
    "h": 271.6
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#23259D
secondary
#C0BF5C
accent
#E441E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23259D

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

Preview Lab → · Contrast checker → · Palette generator →

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