#23186F#23186F

#23186F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.141 H 278.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#23186F
RGBrgb(35, 24, 111)
HSLhsl(248, 64%, 26%)
HSVhsv(248, 78%, 44%)
CMYKcmyk(68.5%, 78.4%, 0%, 56.5%)
CIE-LABlab(16.30, 33.08, -48.18)
CIE-LCHlch(16.30, 58.44, 304.47°)
OKLaboklab(29.29% 0.0218 -0.1391)
OKLCHoklch(29.29% 0.141 278.9)
XYZxyz(3.8881, 2.1580, 15.2475)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23186F #646F18
analogous
#18396F #23186F #4F186F
triadic
#23186F #6F2318 #186F23
tetradic
#23186F #6F1839 #646F18 #186F4F
square
#23186F #6F1839 #646F18 #186F4F
split-complementary
#23186F #6F4F18 #396F18
monochromatic
#080519 #130D3D #23186F #3323A1 #442FD2

Accessibility & contrast

On white

14.67
#23186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#23186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23186F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23186F#FFFFFF#000000##FFFFFF
##23186F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #23186f;
/* rgb */ color: rgb(35, 24, 111);
/* oklch */ color: oklch(29.3% 0.141 278.9);
Tailwind
colors: {
  custom: {
    50: '#6a5799',
    500: '#23186f',
    950: '#000000',
  },
}
SCSS
$custom: #23186f;
$custom-light: #6a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#23186f",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 247.586,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29286,
    "c": 0.1408,
    "h": 278.9
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#23186F
secondary
#98A53E
accent
#E740D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23186F

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

Preview Lab → · Contrast checker → · Palette generator →

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