#23288C#23288C

#23288C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.161 H 272.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#23288C
RGBrgb(35, 40, 140)
HSLhsl(237, 60%, 34%)
HSVhsv(237, 75%, 55%)
CMYKcmyk(75%, 71.4%, 0%, 45.1%)
CIE-LABlab(22.89, 33.48, -55.76)
CIE-LCHlch(22.89, 65.04, 300.98°)
OKLaboklab(34.91% 0.0063 -0.1613)
OKLCHoklch(34.91% 0.161 272.3)
XYZxyz(6.1840, 3.7677, 25.2072)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23288C #8C8723
analogous
#235D8C #23288C #53238C
triadic
#23288C #8C2328 #288C23
tetradic
#23288C #8C235D #8C8723 #238C53
square
#23288C #8C235D #8C8723 #238C53
split-complementary
#23288C #8C5323 #5D8C23
monochromatic
#0B0C2A #171A5B #23288C #2F36BD #555BD4

Accessibility & contrast

On white

11.98
#23288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#23288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23288C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23288C#FFFFFF#000000##FFFFFF
##23288C1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23288c;
/* rgb */ color: rgb(35, 40, 140);
/* oklch */ color: oklch(34.9% 0.161 272.3);
Tailwind
colors: {
  custom: {
    50: '#6f62af',
    500: '#23288c',
    950: '#000000',
  },
}
SCSS
$custom: #23288c;
$custom-light: #6f62af;
$custom-dark: #000000;
JSON
{
  "hex": "#23288c",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 237.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34912,
    "c": 0.16141,
    "h": 272.3
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#23288C
secondary
#B8B452
accent
#DC45E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #23288C

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

Preview Lab → · Contrast checker → · Palette generator →

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