#23166E#23166E

#23166E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.142 H 279.5°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#23166E
RGBrgb(35, 22, 110)
HSLhsl(249, 67%, 26%)
HSVhsv(249, 80%, 43%)
CMYKcmyk(68.2%, 80%, 0%, 56.9%)
CIE-LABlab(15.78, 33.88, -48.37)
CIE-LCHlch(15.78, 59.06, 305.01°)
OKLaboklab(28.89% 0.0233 -0.1397)
OKLCHoklch(28.89% 0.142 279.5)
XYZxyz(3.7936, 2.0566, 14.9459)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23166E #616E16
analogous
#16356E #23166E #4F166E
triadic
#23166E #6E2316 #166E23
tetradic
#23166E #6E1635 #616E16 #166E4F
square
#23166E #6E1635 #616E16 #166E4F
split-complementary
#23166E #6E4F16 #356E16
monochromatic
#08051A #130C3B #23166E #3320A1 #432AD4

Accessibility & contrast

On white

14.88
#23166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23166E
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23166E#FFFFFF#000000##FFFFFF
##23166E1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23166e;
/* rgb */ color: rgb(35, 22, 110);
/* oklch */ color: oklch(28.9% 0.142 279.5);
Tailwind
colors: {
  custom: {
    50: '#6a5599',
    500: '#23166e',
    950: '#000000',
  },
}
SCSS
$custom: #23166e;
$custom-light: #6a5599;
$custom-dark: #000000;
JSON
{
  "hex": "#23166e",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 248.864,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28891,
    "c": 0.1416,
    "h": 279.5
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#23166E
secondary
#95A43C
accent
#EA3ED0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23166E

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

Preview Lab → · Contrast checker → · Palette generator →

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