#23286D#23286D

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

Color values

HEX#23286D
RGBrgb(35, 40, 109)
HSLhsl(236, 51%, 28%)
HSVhsv(236, 68%, 43%)
CMYKcmyk(67.9%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.96, 21.93, -40.88)
CIE-LCHlch(19.96, 46.39, 298.22°)
OKLaboklab(31.87% 0.009 -0.1177)
OKLCHoklch(31.87% 0.118 274.4)
XYZxyz(4.2113, 2.9787, 14.8180)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23286D #6D6823
analogous
#234D6D #23286D #43236D
triadic
#23286D #6D2328 #286D23
tetradic
#23286D #6D234D #6D6823 #236D43
square
#23286D #6D234D #6D6823 #236D43
split-complementary
#23286D #6D4323 #4D6D23
monochromatic
#070817 #14173F #23286D #32399B #474FC4

Accessibility & contrast

On white

13.16
#23286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23286D
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23286D#FFFFFF#000000##FFFFFF
##23286D1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23286d;
/* rgb */ color: rgb(35, 40, 109);
/* oklch */ color: oklch(31.9% 0.118 274.4);
Tailwind
colors: {
  custom: {
    50: '#686297',
    500: '#23286d',
    950: '#000000',
  },
}
SCSS
$custom: #23286d;
$custom-light: #686297;
$custom-dark: #000000;
JSON
{
  "hex": "#23286d",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 235.946,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31875,
    "c": 0.11805,
    "h": 274.4
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#23286D
secondary
#A09B4B
accent
#D14DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #23286D

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

Preview Lab → · Contrast checker → · Palette generator →

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