#23198F#23198F

#23198F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.180 H 274.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#23198F
RGBrgb(35, 25, 143)
HSLhsl(245, 70%, 33%)
HSVhsv(245, 83%, 56%)
CMYKcmyk(75.5%, 82.5%, 0%, 43.9%)
CIE-LABlab(20.18, 43.09, -62.09)
CIE-LCHlch(20.18, 75.58, 304.76°)
OKLaboklab(33.1% 0.0128 -0.1796)
OKLCHoklch(33.1% 0.18 274.1)
XYZxyz(5.9970, 3.0351, 26.2511)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23198F #858F19
analogous
#194A8F #23198F #5E198F
triadic
#23198F #8F2319 #198F23
tetradic
#23198F #8F194A #858F19 #198F5E
square
#23198F #8F194A #858F19 #198F5E
split-complementary
#23198F #8F5E19 #4A8F19
monochromatic
#090727 #16105B #23198F #3022C3 #5144DE

Accessibility & contrast

On white

13.07
#23198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#23198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23198F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23198F#FFFFFF#000000##FFFFFF
##23198F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23198f;
/* rgb */ color: rgb(35, 25, 143);
/* oklch */ color: oklch(33.1% 0.180 274.1);
Tailwind
colors: {
  custom: {
    50: '#7159b1',
    500: '#23198f',
    950: '#000000',
  },
}
SCSS
$custom: #23198f;
$custom-light: #7159b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23198f",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 245.085,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33096,
    "c": 0.18004,
    "h": 274.1
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23198F

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

Preview Lab → · Contrast checker → · Palette generator →

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