#23299A#23299A

#23299A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.178 H 271.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#23299A
RGBrgb(35, 41, 154)
HSLhsl(237, 63%, 37%)
HSVhsv(237, 77%, 60%)
CMYKcmyk(77.3%, 73.4%, 0%, 39.6%)
CIE-LABlab(24.56, 37.86, -61.64)
CIE-LCHlch(24.56, 72.34, 301.56°)
OKLaboklab(36.55% 0.0038 -0.1785)
OKLCHoklch(36.55% 0.179 271.2)
XYZxyz(7.3168, 4.2755, 31.0052)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23299A #9A9423
analogous
#23659A #23299A #59239A
triadic
#23299A #9A2329 #299A23
tetradic
#23299A #9A2365 #9A9423 #239A59
square
#23299A #9A2365 #9A9423 #239A59
split-complementary
#23299A #9A5923 #659A23
monochromatic
#0C0E36 #181C68 #23299A #2E36CC #5D63DA

Accessibility & contrast

On white

11.32
#23299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#23299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23299A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23299A#FFFFFF#000000##FFFFFF
##23299A1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23299a;
/* rgb */ color: rgb(35, 41, 154);
/* oklch */ color: oklch(36.5% 0.178 271.2);
Tailwind
colors: {
  custom: {
    50: '#7364b9',
    500: '#23299a',
    950: '#000000',
  },
}
SCSS
$custom: #23299a;
$custom-light: #7364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23299a",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 236.975,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.1785,
    "h": 271.2
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#23299A
secondary
#BFBA5A
accent
#DE42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #23299A

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

Preview Lab → · Contrast checker → · Palette generator →

#23299A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva