#23188D#23188D

#23188D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.178 H 274.4°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#23188D
RGBrgb(35, 24, 141)
HSLhsl(246, 71%, 32%)
HSVhsv(246, 83%, 55%)
CMYKcmyk(75.2%, 83%, 0%, 44.7%)
CIE-LABlab(19.77, 42.94, -61.52)
CIE-LCHlch(19.77, 75.03, 304.91°)
OKLaboklab(32.74% 0.0137 -0.1779)
OKLCHoklch(32.74% 0.178 274.4)
XYZxyz(5.8259, 2.9331, 25.4532)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23188D #828D18
analogous
#18488D #23188D #5E188D
triadic
#23188D #8D2318 #188D23
tetradic
#23188D #8D1848 #828D18 #188D5E
square
#23188D #8D1848 #828D18 #188D5E
split-complementary
#23188D #8D5E18 #488D18
monochromatic
#090624 #160F59 #23188D #3021C1 #5041DF

Accessibility & contrast

On white

13.23
#23188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#23188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23188D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23188D#FFFFFF#000000##FFFFFF
##23188D1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23188d;
/* rgb */ color: rgb(35, 24, 141);
/* oklch */ color: oklch(32.7% 0.178 274.4);
Tailwind
colors: {
  custom: {
    50: '#7159b0',
    500: '#23188d',
    950: '#000000',
  },
}
SCSS
$custom: #23188d;
$custom-light: #7159b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23188d",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 245.641,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32742,
    "c": 0.17845,
    "h": 274.4
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#23188D
secondary
#B3BF42
accent
#EE3ADD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #23188D

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

Preview Lab → · Contrast checker → · Palette generator →

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