#23199E#23199E

#23199E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 272.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#23199E
RGBrgb(35, 25, 158)
HSLhsl(245, 73%, 36%)
HSVhsv(245, 84%, 62%)
CMYKcmyk(77.8%, 84.2%, 0%, 38%)
CIE-LABlab(22.02, 47.79, -68.31)
CIE-LCHlch(22.02, 83.36, 304.98°)
OKLaboklab(34.89% 0.0088 -0.1976)
OKLCHoklch(34.89% 0.198 272.6)
XYZxyz(7.2103, 3.5204, 32.6406)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23199E #949E19
analogous
#19519E #23199E #65199E
triadic
#23199E #9E2319 #199E23
tetradic
#23199E #9E1951 #949E19 #199E65
square
#23199E #9E1951 #949E19 #199E65
split-complementary
#23199E #9E6519 #519E19
monochromatic
#0C0834 #171169 #23199E #2F21D3 #5A4EE3

Accessibility & contrast

On white

12.32
#23199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#23199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23199E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23199E#FFFFFF#000000##FFFFFF
##23199E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23199e;
/* rgb */ color: rgb(35, 25, 158);
/* oklch */ color: oklch(34.9% 0.198 272.6);
Tailwind
colors: {
  custom: {
    50: '#755bbc',
    500: '#23199e',
    950: '#000000',
  },
}
SCSS
$custom: #23199e;
$custom-light: #755bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#23199e",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 244.511,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34894,
    "c": 0.19779,
    "h": 272.6
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#23199E
secondary
#BCC54E
accent
#EF38E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23199E

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

Preview Lab → · Contrast checker → · Palette generator →

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