#23296E#23296E

#23296E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.118 H 273.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#23296E
RGBrgb(35, 41, 110)
HSLhsl(235, 52%, 28%)
HSVhsv(235, 68%, 43%)
CMYKcmyk(68.2%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.32, 21.62, -40.94)
CIE-LCHlch(20.32, 46.30, 297.84°)
OKLaboklab(32.17% 0.008 -0.1179)
OKLCHoklch(32.17% 0.118 273.9)
XYZxyz(4.2996, 3.0686, 15.1145)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23296E #6E6823
analogous
#234E6E #23296E #42236E
triadic
#23296E #6E2329 #296E23
tetradic
#23296E #6E234E #6E6823 #236E42
square
#23296E #6E234E #6E6823 #236E42
split-complementary
#23296E #6E4223 #4E6E23
monochromatic
#070917 #141840 #23296E #323A9C #4751C4

Accessibility & contrast

On white

13.01
#23296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23296E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23296E#FFFFFF#000000##FFFFFF
##23296E1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23296e;
/* rgb */ color: rgb(35, 41, 110);
/* oklch */ color: oklch(32.2% 0.118 273.9);
Tailwind
colors: {
  custom: {
    50: '#686298',
    500: '#23296e',
    950: '#000000',
  },
}
SCSS
$custom: #23296e;
$custom-light: #686298;
$custom-dark: #000000;
JSON
{
  "hex": "#23296e",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 235.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32167,
    "c": 0.11816,
    "h": 273.9
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#23296E
secondary
#A19A4C
accent
#D04DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #23296E

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

Preview Lab → · Contrast checker → · Palette generator →

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