#23156A#23156A

#23156A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.137 H 280.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#23156A
RGBrgb(35, 21, 106)
HSLhsl(250, 67%, 25%)
HSVhsv(250, 80%, 42%)
CMYKcmyk(67%, 80.2%, 0%, 58.4%)
CIE-LABlab(15.14, 33.11, -46.82)
CIE-LCHlch(15.14, 57.35, 305.27°)
OKLaboklab(28.31% 0.0251 -0.1351)
OKLCHoklch(28.31% 0.137 280.5)
XYZxyz(3.5620, 1.9340, 13.8185)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23156A #5C6A15
analogous
#15326A #23156A #4D156A
triadic
#23156A #6A2315 #156A23
tetradic
#23156A #6A1532 #5C6A15 #156A4D
square
#23156A #6A1532 #5C6A15 #156A4D
split-complementary
#23156A #6A4D15 #326A15
monochromatic
#08051A #120B37 #23156A #341F9D #4529D0

Accessibility & contrast

On white

15.14
#23156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#23156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23156A
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23156A#FFFFFF#000000##FFFFFF
##23156A1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23156a;
/* rgb */ color: rgb(35, 21, 106);
/* oklch */ color: oklch(28.3% 0.137 280.5);
Tailwind
colors: {
  custom: {
    50: '#695596',
    500: '#23156a',
    950: '#000000',
  },
}
SCSS
$custom: #23156a;
$custom-light: #695596;
$custom-dark: #000000;
JSON
{
  "hex": "#23156a",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 249.882,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28305,
    "c": 0.13744,
    "h": 280.5
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#23156A
secondary
#90A13A
accent
#EA3ECE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23156A

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

Preview Lab → · Contrast checker → · Palette generator →

#23156A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva