#23286E#23286E

#23286E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.120 H 274.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#23286E
RGBrgb(35, 40, 110)
HSLhsl(236, 52%, 28%)
HSVhsv(236, 68%, 43%)
CMYKcmyk(68.2%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.05, 22.32, -41.38)
CIE-LCHlch(20.05, 47.02, 298.34°)
OKLaboklab(31.97% 0.009 -0.1192)
OKLCHoklch(31.97% 0.12 274.3)
XYZxyz(4.2655, 3.0003, 15.1032)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23286E #6E6923
analogous
#234D6E #23286E #43236E
triadic
#23286E #6E2328 #286E23
tetradic
#23286E #6E234D #6E6923 #236E43
square
#23286E #6E234D #6E6923 #236E43
split-complementary
#23286E #6E4323 #4D6E23
monochromatic
#070817 #141740 #23286E #32399C #474FC4

Accessibility & contrast

On white

13.12
#23286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#23286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23286E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23286E#FFFFFF#000000##FFFFFF
##23286E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23286e;
/* rgb */ color: rgb(35, 40, 110);
/* oklch */ color: oklch(32.0% 0.120 274.3);
Tailwind
colors: {
  custom: {
    50: '#686298',
    500: '#23286e',
    950: '#000000',
  },
}
SCSS
$custom: #23286e;
$custom-light: #686298;
$custom-dark: #000000;
JSON
{
  "hex": "#23286e",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 236,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.11954,
    "h": 274.3
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#23286E
secondary
#A19C4C
accent
#D24DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #23286E

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

Preview Lab → · Contrast checker → · Palette generator →

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