#23259E#23259E

#23259E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.188 H 271.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#23259E
RGBrgb(35, 37, 158)
HSLhsl(239, 64%, 38%)
HSVhsv(239, 78%, 62%)
CMYKcmyk(77.8%, 76.6%, 0%, 38%)
CIE-LABlab(24.16, 41.60, -64.76)
CIE-LCHlch(24.16, 76.97, 302.72°)
OKLaboklab(36.39% 0.0049 -0.1875)
OKLCHoklch(36.39% 0.188 271.5)
XYZxyz(7.5242, 4.1483, 32.7453)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23259E #9E9C23
analogous
#23639E #23259E #5E239E
triadic
#23259E #9E2325 #259E23
tetradic
#23259E #9E2363 #9E9C23 #239E5E
square
#23259E #9E2363 #9E9C23 #239E5E
split-complementary
#23259E #9E5E23 #639E23
monochromatic
#0D0E3A #18196C #23259E #2E31D0 #6062DC

Accessibility & contrast

On white

11.48
#23259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#23259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23259E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23259E#FFFFFF#000000##FFFFFF
##23259E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23259e;
/* rgb */ color: rgb(35, 37, 158);
/* oklch */ color: oklch(36.4% 0.188 271.5);
Tailwind
colors: {
  custom: {
    50: '#7461bc',
    500: '#23259e',
    950: '#000000',
  },
}
SCSS
$custom: #23259e;
$custom-light: #7461bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23259e",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 239.024,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36388,
    "c": 0.18756,
    "h": 271.5
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23259E

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

Preview Lab → · Contrast checker → · Palette generator →

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