#23199F#23199F

#23199F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.199 H 272.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#23199F
RGBrgb(35, 25, 159)
HSLhsl(244, 73%, 36%)
HSVhsv(244, 84%, 62%)
CMYKcmyk(78%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.14, 48.10, -68.71)
CIE-LCHlch(22.14, 83.87, 304.99°)
OKLaboklab(35.02% 0.0086 -0.1988)
OKLCHoklch(35.02% 0.199 272.5)
XYZxyz(7.2967, 3.5550, 33.0958)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23199F #959F19
analogous
#19529F #23199F #66199F
triadic
#23199F #9F2319 #199F23
tetradic
#23199F #9F1952 #959F19 #199F66
square
#23199F #9F1952 #959F19 #199F66
split-complementary
#23199F #9F6619 #529F19
monochromatic
#0C0835 #17116A #23199F #2F21D4 #5A4FE3

Accessibility & contrast

On white

12.27
#23199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#23199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23199F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23199F#FFFFFF#000000##FFFFFF
##23199F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23199f;
/* rgb */ color: rgb(35, 25, 159);
/* oklch */ color: oklch(35.0% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#755bbd',
    500: '#23199f',
    950: '#000000',
  },
}
SCSS
$custom: #23199f;
$custom-light: #755bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#23199f",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 244.478,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35015,
    "c": 0.19894,
    "h": 272.5
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#23199F
secondary
#BDC64E
accent
#F038E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23199F

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

Preview Lab → · Contrast checker → · Palette generator →

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