#23169F#23169F

#23169F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.7% C 0.201 H 272.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#23169F
RGBrgb(35, 22, 159)
HSLhsl(246, 76%, 35%)
HSVhsv(246, 86%, 62%)
CMYKcmyk(78%, 86.2%, 0%, 37.6%)
CIE-LABlab(21.70, 49.40, -69.44)
CIE-LCHlch(21.70, 85.22, 305.43°)
OKLaboklab(34.71% 0.0093 -0.2008)
OKLCHoklch(34.71% 0.201 272.6)
XYZxyz(7.2360, 3.4336, 33.0756)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23169F #929F16
analogous
#164E9F #23169F #67169F
triadic
#23169F #9F2316 #169F23
tetradic
#23169F #9F164E #929F16 #169F67
square
#23169F #9F164E #929F16 #169F67
split-complementary
#23169F #9F6716 #4E9F16
monochromatic
#0B0733 #170F69 #23169F #2F1DD5 #584AE6

Accessibility & contrast

On white

12.45
#23169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#23169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23169F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23169F#FFFFFF#000000##FFFFFF
##23169F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23169f;
/* rgb */ color: rgb(35, 22, 159);
/* oklch */ color: oklch(34.7% 0.201 272.6);
Tailwind
colors: {
  custom: {
    50: '#7659bd',
    500: '#23169f',
    950: '#000000',
  },
}
SCSS
$custom: #23169f;
$custom-light: #7659bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23169f",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 245.693,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34713,
    "c": 0.20103,
    "h": 272.6
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#23169F
secondary
#BBC74A
accent
#F236E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23169F

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

Preview Lab → · Contrast checker → · Palette generator →

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