#23289C#23289C

#23289C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.182 H 271.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#23289C
RGBrgb(35, 40, 156)
HSLhsl(238, 63%, 37%)
HSVhsv(238, 78%, 61%)
CMYKcmyk(77.6%, 74.4%, 0%, 38.8%)
CIE-LABlab(24.56, 39.17, -62.87)
CIE-LCHlch(24.56, 74.08, 301.92°)
OKLaboklab(36.61% 0.004 -0.182)
OKLCHoklch(36.61% 0.182 271.3)
XYZxyz(7.4506, 4.2744, 31.8784)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23289C #9C9723
analogous
#23649C #23289C #5B239C
triadic
#23289C #9C2328 #289C23
tetradic
#23289C #9C2364 #9C9723 #239C5B
square
#23289C #9C2364 #9C9723 #239C5B
split-complementary
#23289C #9C5B23 #649C23
monochromatic
#0D0E38 #181B6A #23289C #2E35CE #5E64DB

Accessibility & contrast

On white

11.32
#23289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#23289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23289C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23289C#FFFFFF#000000##FFFFFF
##23289C1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23289c;
/* rgb */ color: rgb(35, 40, 156);
/* oklch */ color: oklch(36.6% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#7363ba',
    500: '#23289c',
    950: '#000000',
  },
}
SCSS
$custom: #23289c;
$custom-light: #7363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23289c",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 237.521,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36609,
    "c": 0.18207,
    "h": 271.3
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#23289C
secondary
#C0BC5B
accent
#E041E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #23289C

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

Preview Lab → · Contrast checker → · Palette generator →

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