#23519F#23519F

#23519F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.137 H 260.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#23519F
RGBrgb(35, 81, 159)
HSLhsl(218, 64%, 38%)
HSVhsv(218, 78%, 62%)
CMYKcmyk(78%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.49, 13.26, -46.86)
CIE-LCHlch(35.49, 48.70, 285.80°)
OKLaboklab(44.81% -0.023 -0.1346)
OKLCHoklch(44.81% 0.137 260.3)
XYZxyz(9.8913, 8.7442, 33.9607)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23519F #9F7123
analogous
#238F9F #23519F #33239F
triadic
#23519F #9F2351 #519F23
tetradic
#23519F #9F238F #9F7123 #239F33
square
#23519F #9F238F #9F7123 #239F33
split-complementary
#23519F #9F3323 #8F9F23
monochromatic
#0D1E3B #18376D #23519F #2E6BD1 #608EDC

Accessibility & contrast

On white

7.64
#23519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#23519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23519F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23519F#FFFFFF#000000##FFFFFF
##23519F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #23519f;
/* rgb */ color: rgb(35, 81, 159);
/* oklch */ color: oklch(44.8% 0.137 260.3);
Tailwind
colors: {
  custom: {
    50: '#7181bc',
    500: '#23519f',
    950: '#000000',
  },
}
SCSS
$custom: #23519f;
$custom-light: #7181bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23519f",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 217.742,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44814,
    "c": 0.13661,
    "h": 260.3
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#23519F
secondary
#C19C5D
accent
#A941E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #23519F

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

Preview Lab → · Contrast checker → · Palette generator →

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