#23289F#23289F

#23289F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.186 H 271.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#23289F
RGBrgb(35, 40, 159)
HSLhsl(238, 64%, 38%)
HSVhsv(238, 78%, 62%)
CMYKcmyk(78%, 74.8%, 0%, 37.6%)
CIE-LABlab(24.88, 40.21, -64.17)
CIE-LCHlch(24.88, 75.73, 302.07°)
OKLaboklab(36.94% 0.0035 -0.1858)
OKLCHoklch(36.94% 0.186 271.1)
XYZxyz(7.7078, 4.3773, 33.2328)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23289F #9F9A23
analogous
#23669F #23289F #5C239F
triadic
#23289F #9F2328 #289F23
tetradic
#23289F #9F2366 #9F9A23 #239F5C
square
#23289F #9F2366 #9F9A23 #239F5C
split-complementary
#23289F #9F5C23 #669F23
monochromatic
#0D0F3B #181B6D #23289F #2E35D1 #6065DC

Accessibility & contrast

On white

11.20
#23289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#23289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23289F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23289F#FFFFFF#000000##FFFFFF
##23289F1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23289f;
/* rgb */ color: rgb(35, 40, 159);
/* oklch */ color: oklch(36.9% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#7463bd',
    500: '#23289f',
    950: '#000000',
  },
}
SCSS
$custom: #23289f;
$custom-light: #7463bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23289f",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 237.581,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36935,
    "c": 0.18584,
    "h": 271.1
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#23289F
secondary
#C1BD5D
accent
#E041E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #23289F

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

Preview Lab → · Contrast checker → · Palette generator →

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