#23199D#23199D

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

Color values

HEX#23199D
RGBrgb(35, 25, 157)
HSLhsl(245, 73%, 36%)
HSVhsv(245, 84%, 62%)
CMYKcmyk(77.7%, 84.1%, 0%, 38.4%)
CIE-LABlab(21.89, 47.48, -67.90)
CIE-LCHlch(21.89, 82.85, 304.97°)
OKLaboklab(34.77% 0.0091 -0.1964)
OKLCHoklch(34.77% 0.197 272.6)
XYZxyz(7.1245, 3.4861, 32.1892)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23199D #939D19
analogous
#19519D #23199D #65199D
triadic
#23199D #9D2319 #199D23
tetradic
#23199D #9D1951 #939D19 #199D65
square
#23199D #9D1951 #939D19 #199D65
split-complementary
#23199D #9D6519 #519D19
monochromatic
#0B0833 #171168 #23199D #2F21D2 #594EE3

Accessibility & contrast

On white

12.37
#23199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23199D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23199D#FFFFFF#000000##FFFFFF
##23199D1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23199d;
/* rgb */ color: rgb(35, 25, 157);
/* oklch */ color: oklch(34.8% 0.197 272.6);
Tailwind
colors: {
  custom: {
    50: '#755abb',
    500: '#23199d',
    950: '#000000',
  },
}
SCSS
$custom: #23199d;
$custom-light: #755abb;
$custom-dark: #000000;
JSON
{
  "hex": "#23199d",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 244.545,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.19662,
    "h": 272.6
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#23199D
secondary
#BCC54D
accent
#EF39E1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23199D

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

Preview Lab → · Contrast checker → · Palette generator →

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