#23185B#23185B

#23185B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.114 H 283.3°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#23185B
RGBrgb(35, 24, 91)
HSLhsl(250, 58%, 23%)
HSVhsv(250, 74%, 36%)
CMYKcmyk(61.5%, 73.6%, 0%, 64.3%)
CIE-LABlab(14.21, 26.17, -38.40)
CIE-LCHlch(14.21, 46.48, 304.28°)
OKLaboklab(27.17% 0.0262 -0.1105)
OKLCHoklch(27.17% 0.114 283.3)
XYZxyz(2.9075, 1.7657, 10.0831)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23185B #505B18
analogous
#182E5B #23185B #45185B
triadic
#23185B #5B2318 #185B23
tetradic
#23185B #5B182E #505B18 #185B45
square
#23185B #5B182E #505B18 #185B45
split-complementary
#23185B #5B4518 #2E5B18
monochromatic
#090618 #100B2B #23185B #36258B #4832BC

Accessibility & contrast

On white

15.52
#23185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#23185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23185B
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23185B#FFFFFF#000000##FFFFFF
##23185B1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00225A
Tritanopia (blue-blind)
#062937
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #23185b;
/* rgb */ color: rgb(35, 24, 91);
/* oklch */ color: oklch(27.2% 0.114 283.3);
Tailwind
colors: {
  custom: {
    50: '#65568a',
    500: '#23185b',
    950: '#000000',
  },
}
SCSS
$custom: #23185b;
$custom-light: #65568a;
$custom-dark: #000000;
JSON
{
  "hex": "#23185b",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 249.851,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27166,
    "c": 0.11357,
    "h": 283.3
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#23185B
secondary
#84923D
accent
#E146C8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #23185B

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

Preview Lab → · Contrast checker → · Palette generator →

#23185B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva