#23288D#23288D

#23288D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.163 H 272.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#23288D
RGBrgb(35, 40, 141)
HSLhsl(237, 60%, 35%)
HSVhsv(237, 75%, 55%)
CMYKcmyk(75.2%, 71.6%, 0%, 44.7%)
CIE-LABlab(22.99, 33.84, -56.21)
CIE-LCHlch(22.99, 65.61, 301.05°)
OKLaboklab(35.02% 0.0062 -0.1626)
OKLCHoklch(35.02% 0.163 272.2)
XYZxyz(6.2580, 3.7974, 25.5973)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23288D #8D8823
analogous
#235D8D #23288D #53238D
triadic
#23288D #8D2328 #288D23
tetradic
#23288D #8D235D #8D8823 #238D53
square
#23288D #8D235D #8D8823 #238D53
split-complementary
#23288D #8D5323 #5D8D23
monochromatic
#0B0C2B #171A5C #23288D #2F36BE #555BD5

Accessibility & contrast

On white

11.93
#23288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#23288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23288D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23288D#FFFFFF#000000##FFFFFF
##23288D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23288d;
/* rgb */ color: rgb(35, 40, 141);
/* oklch */ color: oklch(35.0% 0.163 272.2);
Tailwind
colors: {
  custom: {
    50: '#7062af',
    500: '#23288d',
    950: '#000000',
  },
}
SCSS
$custom: #23288d;
$custom-light: #7062af;
$custom-dark: #000000;
JSON
{
  "hex": "#23288d",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 237.17,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35016,
    "c": 0.16274,
    "h": 272.2
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#23288D
secondary
#B9B453
accent
#DC44E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #23288D

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

Preview Lab → · Contrast checker → · Palette generator →

#23288D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva