#23198A#23198A

#23198A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.174 H 274.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#23198A
RGBrgb(35, 25, 138)
HSLhsl(245, 69%, 32%)
HSVhsv(245, 82%, 54%)
CMYKcmyk(74.6%, 81.9%, 0%, 45.9%)
CIE-LABlab(19.59, 41.48, -59.96)
CIE-LCHlch(19.59, 72.91, 304.68°)
OKLaboklab(32.51% 0.0142 -0.1734)
OKLCHoklch(32.51% 0.174 274.7)
XYZxyz(5.6267, 2.8870, 24.3005)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23198A #808A19
analogous
#19488A #23198A #5C198A
triadic
#23198A #8A2319 #198A23
tetradic
#23198A #8A1948 #808A19 #198A5C
square
#23198A #8A1948 #808A19 #198A5C
split-complementary
#23198A #8A5C19 #488A19
monochromatic
#090622 #161056 #23198A #3022BE #4F41DD

Accessibility & contrast

On white

13.31
#23198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#23198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23198A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23198A#FFFFFF#000000##FFFFFF
##23198A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.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: #23198a;
/* rgb */ color: rgb(35, 25, 138);
/* oklch */ color: oklch(32.5% 0.174 274.7);
Tailwind
colors: {
  custom: {
    50: '#7059ad',
    500: '#23198a',
    950: '#000000',
  },
}
SCSS
$custom: #23198a;
$custom-light: #7059ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23198a",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 245.31,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32506,
    "c": 0.17398,
    "h": 274.7
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#23198A
secondary
#B2BD42
accent
#EC3CDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #23198A

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

Preview Lab → · Contrast checker → · Palette generator →

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