#23249B#23249B

#23249B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.185 H 271.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#23249B
RGBrgb(35, 36, 155)
HSLhsl(240, 63%, 37%)
HSVhsv(240, 77%, 61%)
CMYKcmyk(77.4%, 76.8%, 0%, 39.2%)
CIE-LABlab(23.62, 41.15, -63.81)
CIE-LCHlch(23.62, 75.93, 302.82°)
OKLaboklab(35.91% 0.0059 -0.1847)
OKLCHoklch(35.91% 0.185 271.8)
XYZxyz(7.2384, 3.9849, 31.3917)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23249B #9B9A23
analogous
#23609B #23249B #5E239B
triadic
#23249B #9B2324 #249B23
tetradic
#23249B #9B2360 #9B9A23 #239B5E
square
#23249B #9B2360 #9B9A23 #239B5E
split-complementary
#23249B #9B5E23 #609B23
monochromatic
#0C0D37 #181869 #23249B #2E30CD #5E5FDB

Accessibility & contrast

On white

11.68
#23249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#23249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23249B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23249B#FFFFFF#000000##FFFFFF
##23249B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23249b;
/* rgb */ color: rgb(35, 36, 155);
/* oklch */ color: oklch(35.9% 0.185 271.8);
Tailwind
colors: {
  custom: {
    50: '#7360ba',
    500: '#23249b',
    950: '#000000',
  },
}
SCSS
$custom: #23249b;
$custom-light: #7360ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23249b",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 239.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35911,
    "c": 0.18482,
    "h": 271.8
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23249B

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

Preview Lab → · Contrast checker → · Palette generator →

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