#23288E#23288E

#23288E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.164 H 272.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#23288E
RGBrgb(35, 40, 142)
HSLhsl(237, 60%, 35%)
HSVhsv(237, 75%, 56%)
CMYKcmyk(75.4%, 71.8%, 0%, 44.3%)
CIE-LABlab(23.09, 34.20, -56.67)
CIE-LCHlch(23.09, 66.19, 301.11°)
OKLaboklab(35.12% 0.0061 -0.1639)
OKLCHoklch(35.12% 0.164 272.1)
XYZxyz(6.3328, 3.8272, 25.9909)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23288E #8E8923
analogous
#235E8E #23288E #53238E
triadic
#23288E #8E2328 #288E23
tetradic
#23288E #8E235E #8E8923 #238E53
square
#23288E #8E235E #8E8923 #238E53
split-complementary
#23288E #8E5323 #5E8E23
monochromatic
#0B0C2C #171A5D #23288E #2F36BF #565CD5

Accessibility & contrast

On white

11.89
#23288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#23288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23288E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23288E#FFFFFF#000000##FFFFFF
##23288E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23288e;
/* rgb */ color: rgb(35, 40, 142);
/* oklch */ color: oklch(35.1% 0.164 272.1);
Tailwind
colors: {
  custom: {
    50: '#7062b0',
    500: '#23288e',
    950: '#000000',
  },
}
SCSS
$custom: #23288e;
$custom-light: #7062b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23288e",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 237.196,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3512,
    "c": 0.16405,
    "h": 272.1
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#23288E
secondary
#B9B553
accent
#DC44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23288E

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

Preview Lab → · Contrast checker → · Palette generator →

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