#23288F#23288F

#23288F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.165 H 272.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#23288F
RGBrgb(35, 40, 143)
HSLhsl(237, 61%, 35%)
HSVhsv(237, 76%, 56%)
CMYKcmyk(75.5%, 72%, 0%, 43.9%)
CIE-LABlab(23.19, 34.56, -57.12)
CIE-LCHlch(23.19, 66.76, 301.18°)
OKLaboklab(35.22% 0.0059 -0.1653)
OKLCHoklch(35.22% 0.165 272.1)
XYZxyz(6.4082, 3.8574, 26.3881)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23288F #8F8A23
analogous
#235E8F #23288F #54238F
triadic
#23288F #8F2328 #288F23
tetradic
#23288F #8F235E #8F8A23 #238F54
square
#23288F #8F235E #8F8A23 #238F54
split-complementary
#23288F #8F5423 #5E8F23
monochromatic
#0B0C2D #171A5E #23288F #2F36C0 #575DD6

Accessibility & contrast

On white

11.85
#23288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23288F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23288F#FFFFFF#000000##FFFFFF
##23288F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #23288f;
/* rgb */ color: rgb(35, 40, 143);
/* oklch */ color: oklch(35.2% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#7062b1',
    500: '#23288f',
    950: '#000000',
  },
}
SCSS
$custom: #23288f;
$custom-light: #7062b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23288f",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 237.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35224,
    "c": 0.16537,
    "h": 272.1
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23288F

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

Preview Lab → · Contrast checker → · Palette generator →

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