#23286F#23286F

#23286F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.121 H 274.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#23286F
RGBrgb(35, 40, 111)
HSLhsl(236, 52%, 29%)
HSVhsv(236, 68%, 44%)
CMYKcmyk(68.5%, 64%, 0%, 56.5%)
CIE-LABlab(20.13, 22.70, -41.89)
CIE-LCHlch(20.13, 47.64, 298.45°)
OKLaboklab(32.06% 0.0089 -0.1207)
OKLCHoklch(32.06% 0.121 274.2)
XYZxyz(4.3202, 3.0222, 15.3915)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23286F #6F6A23
analogous
#234E6F #23286F #44236F
triadic
#23286F #6F2328 #286F23
tetradic
#23286F #6F234E #6F6A23 #236F44
square
#23286F #6F234E #6F6A23 #236F44
split-complementary
#23286F #6F4423 #4E6F23
monochromatic
#070817 #141740 #23286F #32399E #4750C5

Accessibility & contrast

On white

13.09
#23286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23286F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23286F#FFFFFF#000000##FFFFFF
##23286F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23286f;
/* rgb */ color: rgb(35, 40, 111);
/* oklch */ color: oklch(32.1% 0.121 274.2);
Tailwind
colors: {
  custom: {
    50: '#686299',
    500: '#23286f',
    950: '#000000',
  },
}
SCSS
$custom: #23286f;
$custom-light: #686299;
$custom-dark: #000000;
JSON
{
  "hex": "#23286f",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 236.053,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32059,
    "c": 0.12101,
    "h": 274.2
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#23286F
secondary
#A29D4C
accent
#D24CDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #23286F

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

Preview Lab → · Contrast checker → · Palette generator →

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