#23185D#23185D

#23185D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.4% C 0.116 H 282.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#23185D
RGBrgb(35, 24, 93)
HSLhsl(250, 59%, 23%)
HSVhsv(250, 74%, 36%)
CMYKcmyk(62.4%, 74.2%, 0%, 63.5%)
CIE-LABlab(14.40, 26.87, -39.42)
CIE-LCHlch(14.40, 47.71, 304.28°)
OKLaboklab(27.37% 0.0258 -0.1135)
OKLCHoklch(27.37% 0.116 282.8)
XYZxyz(2.9949, 1.8007, 10.5436)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23185D #525D18
analogous
#182F5D #23185D #45185D
triadic
#23185D #5D2318 #185D23
tetradic
#23185D #5D182F #525D18 #185D45
square
#23185D #5D182F #525D18 #185D45
split-complementary
#23185D #5D4518 #2F5D18
monochromatic
#090618 #110B2C #23185D #35258E #4831BE

Accessibility & contrast

On white

15.44
#23185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#23185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23185D
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23185D#FFFFFF#000000##FFFFFF
##23185D1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#032A38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #23185d;
/* rgb */ color: rgb(35, 24, 93);
/* oklch */ color: oklch(27.4% 0.116 282.8);
Tailwind
colors: {
  custom: {
    50: '#66568c',
    500: '#23185d',
    950: '#000000',
  },
}
SCSS
$custom: #23185d;
$custom-light: #66568c;
$custom-dark: #000000;
JSON
{
  "hex": "#23185d",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 249.565,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27369,
    "c": 0.11639,
    "h": 282.8
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#23185D
secondary
#86933D
accent
#E246C9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #23185D

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

Preview Lab → · Contrast checker → · Palette generator →

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