#23299C#23299C

#23299C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.181 H 271.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#23299C
RGBrgb(35, 41, 156)
HSLhsl(237, 63%, 37%)
HSVhsv(237, 78%, 61%)
CMYKcmyk(77.6%, 73.7%, 0%, 38.8%)
CIE-LABlab(24.77, 38.57, -62.52)
CIE-LCHlch(24.77, 73.46, 301.67°)
OKLaboklab(36.76% 0.0035 -0.181)
OKLCHoklch(36.76% 0.181 271.1)
XYZxyz(7.4848, 4.3427, 31.8898)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23299C #9C9623
analogous
#23659C #23299C #5A239C
triadic
#23299C #9C2329 #299C23
tetradic
#23299C #9C2365 #9C9623 #239C5A
square
#23299C #9C2365 #9C9623 #239C5A
split-complementary
#23299C #9C5A23 #659C23
monochromatic
#0D0F38 #181C6A #23299C #2E36CE #5E65DB

Accessibility & contrast

On white

11.24
#23299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#23299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23299C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23299C#FFFFFF#000000##FFFFFF
##23299C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23299c;
/* rgb */ color: rgb(35, 41, 156);
/* oklch */ color: oklch(36.8% 0.181 271.1);
Tailwind
colors: {
  custom: {
    50: '#7364ba',
    500: '#23299c',
    950: '#000000',
  },
}
SCSS
$custom: #23299c;
$custom-light: #7364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23299c",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 237.025,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.18104,
    "h": 271.1
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#23299C
secondary
#C0BB5B
accent
#DE41E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #23299C

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

Preview Lab → · Contrast checker → · Palette generator →

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