#23198C#23198C

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

Color values

HEX#23198C
RGBrgb(35, 25, 140)
HSLhsl(245, 70%, 32%)
HSVhsv(245, 82%, 55%)
CMYKcmyk(75%, 82.1%, 0%, 45.1%)
CIE-LABlab(19.82, 42.13, -60.82)
CIE-LCHlch(19.82, 73.98, 304.71°)
OKLaboklab(32.74% 0.0136 -0.1759)
OKLCHoklch(32.74% 0.176 274.4)
XYZxyz(5.7728, 2.9455, 25.0702)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23198C #828C19
analogous
#19498C #23198C #5C198C
triadic
#23198C #8C2319 #198C23
tetradic
#23198C #8C1949 #828C19 #198C5C
square
#23198C #8C1949 #828C19 #198C5C
split-complementary
#23198C #8C5C19 #498C19
monochromatic
#090624 #161058 #23198C #3022C0 #5042DD

Accessibility & contrast

On white

13.21
#23198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#23198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23198C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23198C#FFFFFF#000000##FFFFFF
##23198C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23198c;
/* rgb */ color: rgb(35, 25, 140);
/* oklch */ color: oklch(32.7% 0.176 274.4);
Tailwind
colors: {
  custom: {
    50: '#7159af',
    500: '#23198c',
    950: '#000000',
  },
}
SCSS
$custom: #23198c;
$custom-light: #7159af;
$custom-dark: #000000;
JSON
{
  "hex": "#23198c",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 245.217,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.17642,
    "h": 274.4
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#23198C
secondary
#B3BE43
accent
#ED3BDD
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #23198C

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

Preview Lab → · Contrast checker → · Palette generator →

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