#23199B#23199B

#23199B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.194 H 272.8°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#23199B
RGBrgb(35, 25, 155)
HSLhsl(245, 72%, 35%)
HSVhsv(245, 84%, 61%)
CMYKcmyk(77.4%, 83.9%, 0%, 39.2%)
CIE-LABlab(21.65, 46.86, -67.08)
CIE-LCHlch(21.65, 81.83, 304.94°)
OKLaboklab(34.53% 0.0096 -0.194)
OKLCHoklch(34.53% 0.194 272.8)
XYZxyz(6.9552, 3.4184, 31.2973)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23199B #919B19
analogous
#19509B #23199B #64199B
triadic
#23199B #9B2319 #199B23
tetradic
#23199B #9B1950 #919B19 #199B64
square
#23199B #9B1950 #919B19 #199B64
split-complementary
#23199B #9B6419 #509B19
monochromatic
#0B0832 #171166 #23199B #2F22D0 #584CE2

Accessibility & contrast

On white

12.47
#23199B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#23199B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23199B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23199B#FFFFFF#000000##FFFFFF
##23199B1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23199b;
/* rgb */ color: rgb(35, 25, 155);
/* oklch */ color: oklch(34.5% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#745aba',
    500: '#23199b',
    950: '#000000',
  },
}
SCSS
$custom: #23199b;
$custom-light: #745aba;
$custom-dark: #000000;
JSON
{
  "hex": "#23199b",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 155
  },
  "hsl": {
    "h": 244.615,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.19429,
    "h": 272.8
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23199B

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

Preview Lab → · Contrast checker → · Palette generator →

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