#23328E#23328E

#23328E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.152 H 269.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#23328E
RGBrgb(35, 50, 142)
HSLhsl(232, 60%, 35%)
HSVhsv(232, 75%, 56%)
CMYKcmyk(75.4%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.54, 27.66, -52.65)
CIE-LCHlch(25.54, 59.48, 297.72°)
OKLaboklab(36.9% -0.0002 -0.1522)
OKLCHoklch(36.9% 0.152 269.9)
XYZxyz(6.7146, 4.5908, 26.1182)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23328E #8E7F23
analogous
#23678E #23328E #4A238E
triadic
#23328E #8E2332 #328E23
tetradic
#23328E #8E2367 #8E7F23 #238E4A
square
#23328E #8E2367 #8E7F23 #238E4A
split-complementary
#23328E #8E4A23 #678E23
monochromatic
#0B0F2C #17215D #23328E #2F43BF #5668D5

Accessibility & contrast

On white

10.95
#23328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#23328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23328E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23328E#FFFFFF#000000##FFFFFF
##23328E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23328e;
/* rgb */ color: rgb(35, 50, 142);
/* oklch */ color: oklch(36.9% 0.152 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f69b0',
    500: '#23328e',
    950: '#000000',
  },
}
SCSS
$custom: #23328e;
$custom-light: #6f69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23328e",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 231.589,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.15217,
    "h": 269.9
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#23328E
secondary
#B9AB53
accent
#CD44E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #23328E

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

Preview Lab → · Contrast checker → · Palette generator →

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