#23289B#23289B

#23289B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.181 H 271.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#23289B
RGBrgb(35, 40, 155)
HSLhsl(238, 63%, 37%)
HSVhsv(238, 77%, 61%)
CMYKcmyk(77.4%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.45, 38.82, -62.44)
CIE-LCHlch(24.45, 73.52, 301.87°)
OKLaboklab(36.5% 0.0041 -0.1808)
OKLCHoklch(36.5% 0.181 271.3)
XYZxyz(7.3663, 4.2407, 31.4343)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23289B #9B9623
analogous
#23649B #23289B #5A239B
triadic
#23289B #9B2328 #289B23
tetradic
#23289B #9B2364 #9B9623 #239B5A
square
#23289B #9B2364 #9B9623 #239B5A
split-complementary
#23289B #9B5A23 #649B23
monochromatic
#0C0E37 #181B69 #23289B #2E35CD #5E63DB

Accessibility & contrast

On white

11.36
#23289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#23289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23289B
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23289B#FFFFFF#000000##FFFFFF
##23289B1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23289b;
/* rgb */ color: rgb(35, 40, 155);
/* oklch */ color: oklch(36.5% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#7363ba',
    500: '#23289b',
    950: '#000000',
  },
}
SCSS
$custom: #23289b;
$custom-light: #7363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23289b",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 237.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.18082,
    "h": 271.3
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23289B

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

Preview Lab → · Contrast checker → · Palette generator →

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