#23189B#23189B

#23189B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.195 H 272.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#23189B
RGBrgb(35, 24, 155)
HSLhsl(245, 73%, 35%)
HSVhsv(245, 85%, 61%)
CMYKcmyk(77.4%, 84.5%, 0%, 39.2%)
CIE-LABlab(21.49, 47.32, -67.34)
CIE-LCHlch(21.49, 82.30, 305.10°)
OKLaboklab(34.42% 0.0099 -0.1948)
OKLCHoklch(34.42% 0.195 272.9)
XYZxyz(6.9342, 3.3764, 31.2903)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23189B #909B18
analogous
#184F9B #23189B #64189B
triadic
#23189B #9B2318 #189B23
tetradic
#23189B #9B184F #909B18 #189B64
square
#23189B #9B184F #909B18 #189B64
split-complementary
#23189B #9B6418 #4F9B18
monochromatic
#0B0831 #171066 #23189B #2F20D0 #574AE3

Accessibility & contrast

On white

12.53
#23189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23189B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23189B#FFFFFF#000000##FFFFFF
##23189B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23189b;
/* rgb */ color: rgb(35, 24, 155);
/* oklch */ color: oklch(34.4% 0.195 272.9);
Tailwind
colors: {
  custom: {
    50: '#755aba',
    500: '#23189b',
    950: '#000000',
  },
}
SCSS
$custom: #23189b;
$custom-light: #755aba;
$custom-dark: #000000;
JSON
{
  "hex": "#23189b",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 245.038,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34425,
    "c": 0.19502,
    "h": 272.9
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#23189B
secondary
#BAC54A
accent
#F038E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23189B

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

Preview Lab → · Contrast checker → · Palette generator →

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