#23288B#23288B

#23288B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.160 H 272.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#23288B
RGBrgb(35, 40, 139)
HSLhsl(237, 60%, 34%)
HSVhsv(237, 75%, 55%)
CMYKcmyk(74.8%, 71.2%, 0%, 45.5%)
CIE-LABlab(22.79, 33.12, -55.30)
CIE-LCHlch(22.79, 64.46, 300.92°)
OKLaboklab(34.81% 0.0065 -0.16)
OKLCHoklch(34.81% 0.16 272.3)
XYZxyz(6.1106, 3.7384, 24.8206)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23288B #8B8623
analogous
#235C8B #23288B #52238B
triadic
#23288B #8B2328 #288B23
tetradic
#23288B #8B235C #8B8623 #238B52
square
#23288B #8B235C #8B8623 #238B52
split-complementary
#23288B #8B5223 #5C8B23
monochromatic
#0A0C29 #171A5A #23288B #2F36BC #545BD4

Accessibility & contrast

On white

12.02
#23288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23288B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23288B#FFFFFF#000000##FFFFFF
##23288B1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23288b;
/* rgb */ color: rgb(35, 40, 139);
/* oklch */ color: oklch(34.8% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#6f62ae',
    500: '#23288b',
    950: '#000000',
  },
}
SCSS
$custom: #23288b;
$custom-light: #6f62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23288b",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 237.115,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.16009,
    "h": 272.3
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#23288B
secondary
#B8B352
accent
#DB45E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #23288B

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

Preview Lab → · Contrast checker → · Palette generator →

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