#23249A#23249A

#23249A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.184 H 271.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#23249A
RGBrgb(35, 36, 154)
HSLhsl(239, 63%, 37%)
HSVhsv(239, 77%, 60%)
CMYKcmyk(77.3%, 76.6%, 0%, 39.6%)
CIE-LABlab(23.51, 40.81, -63.38)
CIE-LCHlch(23.51, 75.39, 302.78°)
OKLaboklab(35.8% 0.0061 -0.1835)
OKLCHoklch(35.8% 0.184 271.9)
XYZxyz(7.1548, 3.9514, 30.9512)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23249A #9A9923
analogous
#23609A #23249A #5E239A
triadic
#23249A #9A2324 #249A23
tetradic
#23249A #9A2360 #9A9923 #239A5E
square
#23249A #9A2360 #9A9923 #239A5E
split-complementary
#23249A #9A5E23 #609A23
monochromatic
#0C0D36 #181868 #23249A #2E30CC #5D5EDA

Accessibility & contrast

On white

11.73
#23249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#23249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23249A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23249A#FFFFFF#000000##FFFFFF
##23249A1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23249a;
/* rgb */ color: rgb(35, 36, 154);
/* oklch */ color: oklch(35.8% 0.184 271.9);
Tailwind
colors: {
  custom: {
    50: '#7360b9',
    500: '#23249a',
    950: '#000000',
  },
}
SCSS
$custom: #23249a;
$custom-light: #7360b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23249a",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 239.496,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.358,
    "c": 0.18358,
    "h": 271.9
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#23249A
secondary
#BFBE5A
accent
#E542E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23249A

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

Preview Lab → · Contrast checker → · Palette generator →

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