#23199C#23199C

#23199C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.195 H 272.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#23199C
RGBrgb(35, 25, 156)
HSLhsl(245, 72%, 35%)
HSVhsv(245, 84%, 61%)
CMYKcmyk(77.6%, 84%, 0%, 38.8%)
CIE-LABlab(21.77, 47.17, -67.49)
CIE-LCHlch(21.77, 82.34, 304.95°)
OKLaboklab(34.65% 0.0094 -0.1952)
OKLCHoklch(34.65% 0.195 272.7)
XYZxyz(7.0395, 3.4521, 31.7414)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23199C #929C19
analogous
#19509C #23199C #64199C
triadic
#23199C #9C2319 #199C23
tetradic
#23199C #9C1950 #929C19 #199C64
square
#23199C #9C1950 #929C19 #199C64
split-complementary
#23199C #9C6419 #509C19
monochromatic
#0B0833 #171167 #23199C #2F21D1 #584DE2

Accessibility & contrast

On white

12.42
#23199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#23199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23199C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23199C#FFFFFF#000000##FFFFFF
##23199C1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002E9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23199c;
/* rgb */ color: rgb(35, 25, 156);
/* oklch */ color: oklch(34.7% 0.195 272.7);
Tailwind
colors: {
  custom: {
    50: '#755abb',
    500: '#23199c',
    950: '#000000',
  },
}
SCSS
$custom: #23199c;
$custom-light: #755abb;
$custom-dark: #000000;
JSON
{
  "hex": "#23199c",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 244.58,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34652,
    "c": 0.19545,
    "h": 272.7
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#23199C
secondary
#BBC44C
accent
#EF39E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23199C

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

Preview Lab → · Contrast checker → · Palette generator →

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