#23166D#23166D

#23166D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.140 H 279.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#23166D
RGBrgb(35, 22, 109)
HSLhsl(249, 66%, 26%)
HSVhsv(249, 80%, 43%)
CMYKcmyk(67.9%, 79.8%, 0%, 57.3%)
CIE-LABlab(15.67, 33.55, -47.91)
CIE-LCHlch(15.67, 58.49, 305.00°)
OKLaboklab(28.78% 0.0236 -0.1383)
OKLCHoklch(28.78% 0.14 279.7)
XYZxyz(3.7395, 2.0350, 14.6608)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23166D #606D16
analogous
#16346D #23166D #4E166D
triadic
#23166D #6D2316 #166D23
tetradic
#23166D #6D1634 #606D16 #166D4E
square
#23166D #6D1634 #606D16 #166D4E
split-complementary
#23166D #6D4E16 #346D16
monochromatic
#080519 #130C3A #23166D #3320A0 #442BD3

Accessibility & contrast

On white

14.93
#23166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#23166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23166D
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23166D#FFFFFF#000000##FFFFFF
##23166D1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #23166d;
/* rgb */ color: rgb(35, 22, 109);
/* oklch */ color: oklch(28.8% 0.140 279.7);
Tailwind
colors: {
  custom: {
    50: '#695598',
    500: '#23166d',
    950: '#000000',
  },
}
SCSS
$custom: #23166d;
$custom-light: #695598;
$custom-dark: #000000;
JSON
{
  "hex": "#23166d",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 248.966,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28779,
    "c": 0.1403,
    "h": 279.7
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#23166D
secondary
#94A33C
accent
#E93ED0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23166D

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

Preview Lab → · Contrast checker → · Palette generator →

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