#23286C#23286C

#23286C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.117 H 274.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#23286C
RGBrgb(35, 40, 108)
HSLhsl(236, 51%, 28%)
HSVhsv(236, 68%, 42%)
CMYKcmyk(67.6%, 63%, 0%, 57.6%)
CIE-LABlab(19.87, 21.55, -40.37)
CIE-LCHlch(19.87, 45.76, 298.10°)
OKLaboklab(31.78% 0.009 -0.1162)
OKLCHoklch(31.78% 0.117 274.4)
XYZxyz(4.1578, 2.9573, 14.5361)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23286C #6C6723
analogous
#234C6C #23286C #42236C
triadic
#23286C #6C2328 #286C23
tetradic
#23286C #6C234C #6C6723 #236C42
square
#23286C #6C234C #6C6723 #236C42
split-complementary
#23286C #6C4223 #4C6C23
monochromatic
#070917 #14173E #23286C #32399A #464FC3

Accessibility & contrast

On white

13.19
#23286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#23286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23286C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23286C#FFFFFF#000000##FFFFFF
##23286C1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23286c;
/* rgb */ color: rgb(35, 40, 108);
/* oklch */ color: oklch(31.8% 0.117 274.4);
Tailwind
colors: {
  custom: {
    50: '#676297',
    500: '#23286c',
    950: '#000000',
  },
}
SCSS
$custom: #23286c;
$custom-light: #676297;
$custom-dark: #000000;
JSON
{
  "hex": "#23286c",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 235.89,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31784,
    "c": 0.11657,
    "h": 274.4
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#23286C
secondary
#9F9A4B
accent
#D14DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #23286C

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

Preview Lab → · Contrast checker → · Palette generator →

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