#23289A#23289A

#23289A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.180 H 271.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#23289A
RGBrgb(35, 40, 154)
HSLhsl(237, 63%, 37%)
HSVhsv(237, 77%, 60%)
CMYKcmyk(77.3%, 74%, 0%, 39.6%)
CIE-LABlab(24.34, 38.47, -62.00)
CIE-LCHlch(24.34, 72.97, 301.82°)
OKLaboklab(36.39% 0.0043 -0.1795)
OKLCHoklch(36.39% 0.18 271.4)
XYZxyz(7.2827, 4.2072, 30.9938)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23289A #9A9523
analogous
#23649A #23289A #5A239A
triadic
#23289A #9A2328 #289A23
tetradic
#23289A #9A2364 #9A9523 #239A5A
square
#23289A #9A2364 #9A9523 #239A5A
split-complementary
#23289A #9A5A23 #649A23
monochromatic
#0C0E36 #181B68 #23289A #2E35CC #5D62DA

Accessibility & contrast

On white

11.40
#23289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#23289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23289A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23289A#FFFFFF#000000##FFFFFF
##23289A1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23289a;
/* rgb */ color: rgb(35, 40, 154);
/* oklch */ color: oklch(36.4% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#7363b9',
    500: '#23289a',
    950: '#000000',
  },
}
SCSS
$custom: #23289a;
$custom-light: #7363b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23289a",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 237.479,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36393,
    "c": 0.17955,
    "h": 271.4
  },
  "luminance": 0.04208
}

Semantic roles & 50–950 ramp

primary
#23289A
secondary
#BFBB5A
accent
#DF42E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #23289A

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

Preview Lab → · Contrast checker → · Palette generator →

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