#23189C#23189C

#23189C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.196 H 272.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#23189C
RGBrgb(35, 24, 156)
HSLhsl(245, 73%, 35%)
HSVhsv(245, 85%, 61%)
CMYKcmyk(77.6%, 84.6%, 0%, 38.8%)
CIE-LABlab(21.62, 47.63, -67.75)
CIE-LCHlch(21.62, 82.81, 305.11°)
OKLaboklab(34.55% 0.0096 -0.196)
OKLCHoklch(34.55% 0.196 272.8)
XYZxyz(7.0185, 3.4101, 31.7344)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23189C #919C18
analogous
#184F9C #23189C #65189C
triadic
#23189C #9C2318 #189C23
tetradic
#23189C #9C184F #919C18 #189C65
square
#23189C #9C184F #919C18 #189C65
split-complementary
#23189C #9C6518 #4F9C18
monochromatic
#0B0832 #171067 #23189C #2F20D1 #584BE3

Accessibility & contrast

On white

12.48
#23189C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#23189C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23189C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23189C#FFFFFF#000000##FFFFFF
##23189C1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002D9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23189c;
/* rgb */ color: rgb(35, 24, 156);
/* oklch */ color: oklch(34.5% 0.196 272.8);
Tailwind
colors: {
  custom: {
    50: '#755abb',
    500: '#23189c',
    950: '#000000',
  },
}
SCSS
$custom: #23189c;
$custom-light: #755abb;
$custom-dark: #000000;
JSON
{
  "hex": "#23189c",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 156
  },
  "hsl": {
    "h": 245,
    "s": 73.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34546,
    "c": 0.19619,
    "h": 272.8
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#23189C
secondary
#BBC54B
accent
#F038E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23189C

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

Preview Lab → · Contrast checker → · Palette generator →

#23189C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva