#23188B#23188B

#23188B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.176 H 274.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#23188B
RGBrgb(35, 24, 139)
HSLhsl(246, 71%, 32%)
HSVhsv(246, 83%, 55%)
CMYKcmyk(74.8%, 82.7%, 0%, 45.5%)
CIE-LABlab(19.53, 42.31, -60.67)
CIE-LCHlch(19.53, 73.97, 304.89°)
OKLaboklab(32.5% 0.0143 -0.1755)
OKLCHoklch(32.5% 0.176 274.6)
XYZxyz(5.6784, 2.8741, 24.6766)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23188B #808B18
analogous
#18478B #23188B #5D188B
triadic
#23188B #8B2318 #188B23
tetradic
#23188B #8B1847 #808B18 #188B5D
square
#23188B #8B1847 #808B18 #188B5D
split-complementary
#23188B #8B5D18 #478B18
monochromatic
#090623 #160F57 #23188B #3021BF #4F3FDE

Accessibility & contrast

On white

13.33
#23188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#23188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23188B
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23188B#FFFFFF#000000##FFFFFF
##23188B1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23188b;
/* rgb */ color: rgb(35, 24, 139);
/* oklch */ color: oklch(32.5% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#7159ae',
    500: '#23188b',
    950: '#000000',
  },
}
SCSS
$custom: #23188b;
$custom-light: #7159ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23188b",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 245.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32504,
    "c": 0.17604,
    "h": 274.6
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#23188B
secondary
#B2BE40
accent
#ED3ADC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #23188B

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

Preview Lab → · Contrast checker → · Palette generator →

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