#23249C#23249C

#23249C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.186 H 271.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#23249C
RGBrgb(35, 36, 156)
HSLhsl(240, 63%, 37%)
HSVhsv(240, 78%, 61%)
CMYKcmyk(77.6%, 76.9%, 0%, 38.8%)
CIE-LABlab(23.73, 41.49, -64.24)
CIE-LCHlch(23.73, 76.47, 302.86°)
OKLaboklab(36.02% 0.0057 -0.186)
OKLCHoklch(36.02% 0.186 271.7)
XYZxyz(7.3227, 4.0186, 31.8358)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23249C #9C9B23
analogous
#23619C #23249C #5E239C
triadic
#23249C #9C2324 #249C23
tetradic
#23249C #9C2361 #9C9B23 #239C5E
square
#23249C #9C2361 #9C9B23 #239C5E
split-complementary
#23249C #9C5E23 #619C23
monochromatic
#0D0D38 #18186A #23249C #2E30CE #5E5FDB

Accessibility & contrast

On white

11.64
#23249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23249C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23249C#FFFFFF#000000##FFFFFF
##23249C1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23249c;
/* rgb */ color: rgb(35, 36, 156);
/* oklch */ color: oklch(36.0% 0.186 271.7);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#23249c',
    950: '#000000',
  },
}
SCSS
$custom: #23249c;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23249c",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 239.504,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36023,
    "c": 0.18606,
    "h": 271.7
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#23249C
secondary
#C0BF5B
accent
#E541E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23249C

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

Preview Lab → · Contrast checker → · Palette generator →

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