#23286A#23286A

#23286A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.114 H 274.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#23286A
RGBrgb(35, 40, 106)
HSLhsl(236, 50%, 28%)
HSVhsv(236, 67%, 42%)
CMYKcmyk(67%, 62.3%, 0%, 58.4%)
CIE-LABlab(19.70, 20.79, -39.35)
CIE-LCHlch(19.70, 44.50, 297.85°)
OKLaboklab(31.6% 0.0091 -0.1132)
OKLCHoklch(31.6% 0.114 274.6)
XYZxyz(4.0526, 2.9152, 13.9820)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23286A #6A6523
analogous
#234B6A #23286A #42236A
triadic
#23286A #6A2328 #286A23
tetradic
#23286A #6A234B #6A6523 #236A42
square
#23286A #6A234B #6A6523 #236A42
split-complementary
#23286A #6A4223 #4B6A23
monochromatic
#080917 #14173C #23286A #323998 #464EC2

Accessibility & contrast

On white

13.26
#23286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#23286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23286A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23286A#FFFFFF#000000##FFFFFF
##23286A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23286a;
/* rgb */ color: rgb(35, 40, 106);
/* oklch */ color: oklch(31.6% 0.114 274.6);
Tailwind
colors: {
  custom: {
    50: '#676195',
    500: '#23286a',
    950: '#000000',
  },
}
SCSS
$custom: #23286a;
$custom-light: #676195;
$custom-dark: #000000;
JSON
{
  "hex": "#23286a",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 235.775,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31604,
    "c": 0.11358,
    "h": 274.6
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#23286A
secondary
#9D984B
accent
#D04EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #23286A

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

Preview Lab → · Contrast checker → · Palette generator →

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