#23198B#23198B

#23198B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.175 H 274.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#23198B
RGBrgb(35, 25, 139)
HSLhsl(245, 70%, 32%)
HSVhsv(245, 82%, 55%)
CMYKcmyk(74.8%, 82%, 0%, 45.5%)
CIE-LABlab(19.70, 41.80, -60.39)
CIE-LCHlch(19.70, 73.45, 304.69°)
OKLaboklab(32.62% 0.0139 -0.1746)
OKLCHoklch(32.62% 0.175 274.5)
XYZxyz(5.6994, 2.9161, 24.6836)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23198B #818B19
analogous
#19488B #23198B #5C198B
triadic
#23198B #8B2319 #198B23
tetradic
#23198B #8B1948 #818B19 #198B5C
square
#23198B #8B1948 #818B19 #198B5C
split-complementary
#23198B #8B5C19 #488B19
monochromatic
#090623 #161057 #23198B #3022BF #4F41DD

Accessibility & contrast

On white

13.26
#23198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23198B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23198B#FFFFFF#000000##FFFFFF
##23198B1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23198b;
/* rgb */ color: rgb(35, 25, 139);
/* oklch */ color: oklch(32.6% 0.175 274.5);
Tailwind
colors: {
  custom: {
    50: '#7059ae',
    500: '#23198b',
    950: '#000000',
  },
}
SCSS
$custom: #23198b;
$custom-light: #7059ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23198b",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 245.263,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32624,
    "c": 0.1752,
    "h": 274.5
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#23198B
secondary
#B3BE42
accent
#EC3BDD
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #23198B

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

Preview Lab → · Contrast checker → · Palette generator →

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