#23188A#23188A

#23188A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.175 H 274.8°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#23188A
RGBrgb(35, 24, 138)
HSLhsl(246, 70%, 32%)
HSVhsv(246, 83%, 54%)
CMYKcmyk(74.6%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.41, 41.99, -60.25)
CIE-LCHlch(19.41, 73.44, 304.87°)
OKLaboklab(32.39% 0.0145 -0.1742)
OKLCHoklch(32.39% 0.175 274.8)
XYZxyz(5.6057, 2.8450, 24.2935)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23188A #7F8A18
analogous
#18468A #23188A #5C188A
triadic
#23188A #8A2318 #188A23
tetradic
#23188A #8A1846 #7F8A18 #188A5C
square
#23188A #8A1846 #7F8A18 #188A5C
split-complementary
#23188A #8A5C18 #468A18
monochromatic
#090622 #160F56 #23188A #3021BE #4E3FDE

Accessibility & contrast

On white

13.38
#23188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23188A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23188A#FFFFFF#000000##FFFFFF
##23188A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23188a;
/* rgb */ color: rgb(35, 24, 138);
/* oklch */ color: oklch(32.4% 0.175 274.8);
Tailwind
colors: {
  custom: {
    50: '#7058ad',
    500: '#23188a',
    950: '#000000',
  },
}
SCSS
$custom: #23188a;
$custom-light: #7058ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23188a",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 245.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32386,
    "c": 0.17483,
    "h": 274.8
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#23188A
secondary
#B1BD40
accent
#ED3BDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #23188A

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

Preview Lab → · Contrast checker → · Palette generator →

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