#23299B#23299B

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

Color values

HEX#23299B
RGBrgb(35, 41, 155)
HSLhsl(237, 63%, 37%)
HSVhsv(237, 77%, 61%)
CMYKcmyk(77.4%, 73.5%, 0%, 39.2%)
CIE-LABlab(24.67, 38.21, -62.08)
CIE-LCHlch(24.67, 72.90, 301.61°)
OKLaboklab(36.66% 0.0037 -0.1797)
OKLCHoklch(36.66% 0.18 271.2)
XYZxyz(7.4005, 4.3090, 31.4457)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23299B #9B9523
analogous
#23659B #23299B #59239B
triadic
#23299B #9B2329 #299B23
tetradic
#23299B #9B2365 #9B9523 #239B59
square
#23299B #9B2365 #9B9523 #239B59
split-complementary
#23299B #9B5923 #659B23
monochromatic
#0C0F37 #181C69 #23299B #2E36CD #5E64DB

Accessibility & contrast

On white

11.28
#23299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23299B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23299B#FFFFFF#000000##FFFFFF
##23299B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23299b;
/* rgb */ color: rgb(35, 41, 155);
/* oklch */ color: oklch(36.7% 0.180 271.2);
Tailwind
colors: {
  custom: {
    50: '#7364ba',
    500: '#23299b',
    950: '#000000',
  },
}
SCSS
$custom: #23299b;
$custom-light: #7364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23299b",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 237,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36655,
    "c": 0.17977,
    "h": 271.2
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23299B

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

Preview Lab → · Contrast checker → · Palette generator →

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