#23288A#23288A

#23288A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.159 H 272.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#23288A
RGBrgb(35, 40, 138)
HSLhsl(237, 60%, 34%)
HSVhsv(237, 75%, 54%)
CMYKcmyk(74.6%, 71%, 0%, 45.9%)
CIE-LABlab(22.69, 32.75, -54.84)
CIE-LCHlch(22.69, 63.88, 300.85°)
OKLaboklab(34.71% 0.0066 -0.1586)
OKLCHoklch(34.71% 0.159 272.4)
XYZxyz(6.0378, 3.7093, 24.4376)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23288A #8A8523
analogous
#235C8A #23288A #52238A
triadic
#23288A #8A2328 #288A23
tetradic
#23288A #8A235C #8A8523 #238A52
square
#23288A #8A235C #8A8523 #238A52
split-complementary
#23288A #8A5223 #5C8A23
monochromatic
#0A0C28 #171A59 #23288A #2F36BB #545AD4

Accessibility & contrast

On white

12.06
#23288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#23288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23288A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23288A#FFFFFF#000000##FFFFFF
##23288A1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23288a;
/* rgb */ color: rgb(35, 40, 138);
/* oklch */ color: oklch(34.7% 0.159 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f62ad',
    500: '#23288a',
    950: '#000000',
  },
}
SCSS
$custom: #23288a;
$custom-light: #6f62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23288a",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 237.087,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34705,
    "c": 0.15876,
    "h": 272.4
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23288A

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

Preview Lab → · Contrast checker → · Palette generator →

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