#23509E#23509E

#23509E is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.136 H 260.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#23509E
RGBrgb(35, 80, 158)
HSLhsl(218, 64%, 38%)
HSVhsv(218, 78%, 62%)
CMYKcmyk(77.8%, 49.4%, 0%, 38%)
CIE-LABlab(35.13, 13.53, -46.84)
CIE-LCHlch(35.13, 48.76, 286.11°)
OKLaboklab(44.52% -0.0223 -0.1346)
OKLCHoklch(44.52% 0.136 260.6)
XYZxyz(9.7311, 8.5622, 33.4809)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23509E #9E7123
analogous
#238D9E #23509E #33239E
triadic
#23509E #9E2350 #509E23
tetradic
#23509E #9E238D #9E7123 #239E33
square
#23509E #9E238D #9E7123 #239E33
split-complementary
#23509E #9E3323 #8D9E23
monochromatic
#0D1D3A #18376C #23509E #2E69D0 #608DDC

Accessibility & contrast

On white

7.74
#23509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#23509E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23509E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23509E#FFFFFF#000000##FFFFFF
##23509E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #23509e;
/* rgb */ color: rgb(35, 80, 158);
/* oklch */ color: oklch(44.5% 0.136 260.6);
Tailwind
colors: {
  custom: {
    50: '#7180bb',
    500: '#23509e',
    950: '#000000',
  },
}
SCSS
$custom: #23509e;
$custom-light: #7180bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23509e",
  "rgb": {
    "r": 35,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 218.049,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.13645,
    "h": 260.6
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#23509E
secondary
#C19C5C
accent
#AA41E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #23509E

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

Preview Lab → · Contrast checker → · Palette generator →

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