#23156F#23156F

#23156F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.144 H 279.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#23156F
RGBrgb(35, 21, 111)
HSLhsl(249, 68%, 26%)
HSVhsv(249, 81%, 44%)
CMYKcmyk(68.5%, 81.1%, 0%, 56.5%)
CIE-LABlab(15.70, 34.77, -49.16)
CIE-LCHlch(15.70, 60.21, 305.27°)
OKLaboklab(28.87% 0.0237 -0.1419)
OKLCHoklch(28.87% 0.144 279.5)
XYZxyz(3.8296, 2.0410, 15.2280)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23156F #616F15
analogous
#15346F #23156F #50156F
triadic
#23156F #6F2315 #156F23
tetradic
#23156F #6F1534 #616F15 #156F50
square
#23156F #6F1534 #616F15 #156F50
split-complementary
#23156F #6F5015 #346F15
monochromatic
#08051A #130B3C #23156F #331FA2 #4328D6

Accessibility & contrast

On white

14.91
#23156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#23156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23156F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23156F#FFFFFF#000000##FFFFFF
##23156F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #23156f;
/* rgb */ color: rgb(35, 21, 111);
/* oklch */ color: oklch(28.9% 0.144 279.5);
Tailwind
colors: {
  custom: {
    50: '#6a5599',
    500: '#23156f',
    950: '#000000',
  },
}
SCSS
$custom: #23156f;
$custom-light: #6a5599;
$custom-dark: #000000;
JSON
{
  "hex": "#23156f",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 249.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28869,
    "c": 0.14389,
    "h": 279.5
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#23156F
secondary
#95A53A
accent
#EB3DD0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23156F

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

Preview Lab → · Contrast checker → · Palette generator →

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