#23166F#23166F

#23166F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.143 H 279.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#23166F
RGBrgb(35, 22, 111)
HSLhsl(249, 67%, 26%)
HSVhsv(249, 80%, 44%)
CMYKcmyk(68.5%, 80.2%, 0%, 56.5%)
CIE-LABlab(15.89, 34.22, -48.84)
CIE-LCHlch(15.89, 59.63, 305.02°)
OKLaboklab(29% 0.0231 -0.141)
OKLCHoklch(29% 0.143 279.3)
XYZxyz(3.8484, 2.0785, 15.2342)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23166F #626F16
analogous
#16356F #23166F #4F166F
triadic
#23166F #6F2316 #166F23
tetradic
#23166F #6F1635 #626F16 #166F4F
square
#23166F #6F1635 #626F16 #166F4F
split-complementary
#23166F #6F4F16 #356F16
monochromatic
#08051A #130C3C #23166F #3320A2 #432BD5

Accessibility & contrast

On white

14.83
#23166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#23166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23166F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23166F#FFFFFF#000000##FFFFFF
##23166F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #23166f;
/* rgb */ color: rgb(35, 22, 111);
/* oklch */ color: oklch(29.0% 0.143 279.3);
Tailwind
colors: {
  custom: {
    50: '#6a5599',
    500: '#23166f',
    950: '#000000',
  },
}
SCSS
$custom: #23166f;
$custom-light: #6a5599;
$custom-dark: #000000;
JSON
{
  "hex": "#23166f",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 248.764,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29004,
    "c": 0.14289,
    "h": 279.3
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#23166F
secondary
#96A53C
accent
#EA3ED1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23166F

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

Preview Lab → · Contrast checker → · Palette generator →

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