#23328C#23328C

#23328C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.149 H 269.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#23328C
RGBrgb(35, 50, 140)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 55%)
CMYKcmyk(75%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.36, 26.90, -51.71)
CIE-LCHlch(25.36, 58.29, 297.48°)
OKLaboklab(36.71% -0.0002 -0.1494)
OKLCHoklch(36.71% 0.149 269.9)
XYZxyz(6.5657, 4.5313, 25.3345)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23328C #8C7D23
analogous
#23678C #23328C #49238C
triadic
#23328C #8C2332 #328C23
tetradic
#23328C #8C2367 #8C7D23 #238C49
square
#23328C #8C2367 #8C7D23 #238C49
split-complementary
#23328C #8C4923 #678C23
monochromatic
#0B0F2A #17215B #23328C #2F43BD #5567D4

Accessibility & contrast

On white

11.02
#23328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#23328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23328C
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23328C#FFFFFF#000000##FFFFFF
##23328C1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23328c;
/* rgb */ color: rgb(35, 50, 140);
/* oklch */ color: oklch(36.7% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#23328c',
    950: '#000000',
  },
}
SCSS
$custom: #23328c;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23328c",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 231.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.1494,
    "h": 269.9
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#23328C
secondary
#B8AA52
accent
#CD45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23328C

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

Preview Lab → · Contrast checker → · Palette generator →

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