#23296C#23296C

#23296C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.115 H 274.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#23296C
RGBrgb(35, 41, 108)
HSLhsl(235, 51%, 28%)
HSVhsv(235, 68%, 42%)
CMYKcmyk(67.6%, 62%, 0%, 57.6%)
CIE-LABlab(20.15, 20.85, -39.92)
CIE-LCHlch(20.15, 45.04, 297.58°)
OKLaboklab(31.99% 0.0081 -0.1149)
OKLCHoklch(31.99% 0.115 274)
XYZxyz(4.1920, 3.0256, 14.5475)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23296C #6C6623
analogous
#234E6C #23296C #41236C
triadic
#23296C #6C2329 #296C23
tetradic
#23296C #6C234E #6C6623 #236C41
square
#23296C #6C234E #6C6623 #236C41
split-complementary
#23296C #6C4123 #4E6C23
monochromatic
#070917 #14173E #23296C #323B9A #4651C3

Accessibility & contrast

On white

13.08
#23296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#23296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23296C
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23296C#FFFFFF#000000##FFFFFF
##23296C1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23296c;
/* rgb */ color: rgb(35, 41, 108);
/* oklch */ color: oklch(32.0% 0.115 274.0);
Tailwind
colors: {
  custom: {
    50: '#676297',
    500: '#23296c',
    950: '#000000',
  },
}
SCSS
$custom: #23296c;
$custom-light: #676297;
$custom-dark: #000000;
JSON
{
  "hex": "#23296c",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 235.068,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31987,
    "c": 0.11518,
    "h": 274
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#23296C
secondary
#9F984B
accent
#CF4DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #23296C

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

Preview Lab → · Contrast checker → · Palette generator →

#23296C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva