#23519D#23519D

#23519D is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.134 H 259.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#23519D
RGBrgb(35, 81, 157)
HSLhsl(217, 64%, 38%)
HSVhsv(217, 78%, 62%)
CMYKcmyk(77.7%, 48.4%, 0%, 38.4%)
CIE-LABlab(35.35, 12.47, -45.88)
CIE-LCHlch(35.35, 47.54, 285.20°)
OKLaboklab(44.67% -0.0233 -0.1317)
OKLCHoklch(44.67% 0.134 259.9)
XYZxyz(9.7192, 8.6754, 33.0540)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23519D #9D6F23
analogous
#238E9D #23519D #32239D
triadic
#23519D #9D2351 #519D23
tetradic
#23519D #9D238E #9D6F23 #239D32
square
#23519D #9D238E #9D6F23 #239D32
split-complementary
#23519D #9D3223 #8E9D23
monochromatic
#0D1D39 #18376B #23519D #2E6BCF #5F8EDB

Accessibility & contrast

On white

7.68
#23519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#23519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23519D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23519D#FFFFFF#000000##FFFFFF
##23519D1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #23519d;
/* rgb */ color: rgb(35, 81, 157);
/* oklch */ color: oklch(44.7% 0.134 259.9);
Tailwind
colors: {
  custom: {
    50: '#7081ba',
    500: '#23519d',
    950: '#000000',
  },
}
SCSS
$custom: #23519d;
$custom-light: #7081ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23519d",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 217.377,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.1338,
    "h": 259.9
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#23519D
secondary
#C09A5C
accent
#A841E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #23519D

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

Preview Lab → · Contrast checker → · Palette generator →

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