#23156C#23156C

#23156C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.140 H 280.1°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#23156C
RGBrgb(35, 21, 108)
HSLhsl(250, 67%, 25%)
HSVhsv(250, 81%, 42%)
CMYKcmyk(67.6%, 80.6%, 0%, 57.6%)
CIE-LABlab(15.36, 33.78, -47.76)
CIE-LCHlch(15.36, 58.50, 305.27°)
OKLaboklab(28.53% 0.0245 -0.1379)
OKLCHoklch(28.53% 0.14 280.1)
XYZxyz(3.6672, 1.9761, 14.3726)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23156C #5E6C15
analogous
#15326C #23156C #4E156C
triadic
#23156C #6C2315 #156C23
tetradic
#23156C #6C1532 #5E6C15 #156C4E
square
#23156C #6C1532 #5E6C15 #156C4E
split-complementary
#23156C #6C4E15 #326C15
monochromatic
#08051A #120B39 #23156C #341F9F #4429D2

Accessibility & contrast

On white

15.05
#23156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#23156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23156C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23156C#FFFFFF#000000##FFFFFF
##23156C1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23156c;
/* rgb */ color: rgb(35, 21, 108);
/* oklch */ color: oklch(28.5% 0.140 280.1);
Tailwind
colors: {
  custom: {
    50: '#695597',
    500: '#23156c',
    950: '#000000',
  },
}
SCSS
$custom: #23156c;
$custom-light: #695597;
$custom-dark: #000000;
JSON
{
  "hex": "#23156c",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 249.655,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28529,
    "c": 0.14004,
    "h": 280.1
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#23156C
secondary
#92A33A
accent
#EA3DCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23156C

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

Preview Lab → · Contrast checker → · Palette generator →

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