#23198E#23198E

#23198E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.179 H 274.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#23198E
RGBrgb(35, 25, 142)
HSLhsl(245, 70%, 33%)
HSVhsv(245, 82%, 56%)
CMYKcmyk(75.4%, 82.4%, 0%, 44.3%)
CIE-LABlab(20.06, 42.77, -61.67)
CIE-LCHlch(20.06, 75.05, 304.74°)
OKLaboklab(32.98% 0.0131 -0.1784)
OKLCHoklch(32.98% 0.179 274.2)
XYZxyz(5.9216, 3.0050, 25.8539)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23198E #848E19
analogous
#194A8E #23198E #5D198E
triadic
#23198E #8E2319 #198E23
tetradic
#23198E #8E194A #848E19 #198E5D
square
#23198E #8E194A #848E19 #198E5D
split-complementary
#23198E #8E5D19 #4A8E19
monochromatic
#090726 #16105A #23198E #3022C2 #5143DE

Accessibility & contrast

On white

13.12
#23198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#23198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23198E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23198E#FFFFFF#000000##FFFFFF
##23198E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23198e;
/* rgb */ color: rgb(35, 25, 142);
/* oklch */ color: oklch(33.0% 0.179 274.2);
Tailwind
colors: {
  custom: {
    50: '#7159b0',
    500: '#23198e',
    950: '#000000',
  },
}
SCSS
$custom: #23198e;
$custom-light: #7159b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23198e",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 245.128,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32978,
    "c": 0.17884,
    "h": 274.2
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#23198E
secondary
#B4BF44
accent
#ED3BDE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #23198E

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

Preview Lab → · Contrast checker → · Palette generator →

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