#23186A#23186A

#23186A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.134 H 279.9°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#23186A
RGBrgb(35, 24, 106)
HSLhsl(248, 63%, 25%)
HSVhsv(248, 77%, 42%)
CMYKcmyk(67%, 77.4%, 0%, 58.4%)
CIE-LABlab(15.75, 31.37, -45.81)
CIE-LCHlch(15.75, 55.52, 304.40°)
OKLaboklab(28.74% 0.023 -0.1322)
OKLCHoklch(28.74% 0.134 279.9)
XYZxyz(3.6205, 2.0509, 13.8380)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23186A #5F6A18
analogous
#18366A #23186A #4C186A
triadic
#23186A #6A2318 #186A23
tetradic
#23186A #6A1836 #5F6A18 #186A4C
square
#23186A #6A1836 #5F6A18 #186A4C
split-complementary
#23186A #6A4C18 #366A18
monochromatic
#080619 #130D38 #23186A #33239C #442FCE

Accessibility & contrast

On white

14.89
#23186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#23186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23186A
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23186A#FFFFFF#000000##FFFFFF
##23186A1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #23186a;
/* rgb */ color: rgb(35, 24, 106);
/* oklch */ color: oklch(28.7% 0.134 279.9);
Tailwind
colors: {
  custom: {
    50: '#695696',
    500: '#23186a',
    950: '#000000',
  },
}
SCSS
$custom: #23186a;
$custom-light: #695696;
$custom-dark: #000000;
JSON
{
  "hex": "#23186a",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 248.049,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28739,
    "c": 0.13417,
    "h": 279.9
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#23186A
secondary
#93A03E
accent
#E642D0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23186A

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

Preview Lab → · Contrast checker → · Palette generator →

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