#23166A#23166A

#23166A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.136 H 280.3°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#23166A
RGBrgb(35, 22, 106)
HSLhsl(249, 66%, 25%)
HSVhsv(249, 79%, 42%)
CMYKcmyk(67%, 79.2%, 0%, 58.4%)
CIE-LABlab(15.34, 32.54, -46.49)
CIE-LCHlch(15.34, 56.75, 304.99°)
OKLaboklab(28.45% 0.0244 -0.1342)
OKLCHoklch(28.45% 0.136 280.3)
XYZxyz(3.5807, 1.9715, 13.8247)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23166A #5D6A16
analogous
#16336A #23166A #4D166A
triadic
#23166A #6A2316 #166A23
tetradic
#23166A #6A1633 #5D6A16 #166A4D
square
#23166A #6A1633 #5D6A16 #166A4D
split-complementary
#23166A #6A4D16 #336A16
monochromatic
#080519 #120B37 #23166A #34219D #442BCF

Accessibility & contrast

On white

15.06
#23166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23166A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23166A#FFFFFF#000000##FFFFFF
##23166A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.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: #23166a;
/* rgb */ color: rgb(35, 22, 106);
/* oklch */ color: oklch(28.4% 0.136 280.3);
Tailwind
colors: {
  custom: {
    50: '#695596',
    500: '#23166a',
    950: '#000000',
  },
}
SCSS
$custom: #23166a;
$custom-light: #695596;
$custom-dark: #000000;
JSON
{
  "hex": "#23166a",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 249.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28446,
    "c": 0.13637,
    "h": 280.3
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#23166A
secondary
#91A03B
accent
#E93FCE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23166A

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

Preview Lab → · Contrast checker → · Palette generator →

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