#23286B#23286B

#23286B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.115 H 274.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#23286B
RGBrgb(35, 40, 107)
HSLhsl(236, 51%, 28%)
HSVhsv(236, 67%, 42%)
CMYKcmyk(67.3%, 62.6%, 0%, 58%)
CIE-LABlab(19.79, 21.17, -39.86)
CIE-LCHlch(19.79, 45.14, 297.98°)
OKLaboklab(31.69% 0.009 -0.1147)
OKLCHoklch(31.69% 0.115 274.5)
XYZxyz(4.1049, 2.9361, 14.2575)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23286B #6B6623
analogous
#234C6B #23286B #42236B
triadic
#23286B #6B2328 #286B23
tetradic
#23286B #6B234C #6B6623 #236B42
square
#23286B #6B234C #6B6623 #236B42
split-complementary
#23286B #6B4223 #4C6B23
monochromatic
#080917 #14173D #23286B #323999 #464FC2

Accessibility & contrast

On white

13.23
#23286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23286B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23286B#FFFFFF#000000##FFFFFF
##23286B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23286b;
/* rgb */ color: rgb(35, 40, 107);
/* oklch */ color: oklch(31.7% 0.115 274.5);
Tailwind
colors: {
  custom: {
    50: '#676196',
    500: '#23286b',
    950: '#000000',
  },
}
SCSS
$custom: #23286b;
$custom-light: #676196;
$custom-dark: #000000;
JSON
{
  "hex": "#23286b",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 235.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31694,
    "c": 0.11508,
    "h": 274.5
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#23286B
secondary
#9E994B
accent
#D04EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #23286B

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

Preview Lab → · Contrast checker → · Palette generator →

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