#23328B#23328B

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

Color values

HEX#23328B
RGBrgb(35, 50, 139)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 55%)
CMYKcmyk(74.8%, 64%, 0%, 45.5%)
CIE-LABlab(25.27, 26.52, -51.24)
CIE-LCHlch(25.27, 57.69, 297.37°)
OKLaboklab(36.62% -0.0001 -0.148)
OKLCHoklch(36.62% 0.148 269.9)
XYZxyz(6.4923, 4.5019, 24.9479)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23328B #8B7C23
analogous
#23668B #23328B #48238B
triadic
#23328B #8B2332 #328B23
tetradic
#23328B #8B2366 #8B7C23 #238B48
square
#23328B #8B2366 #8B7C23 #238B48
split-complementary
#23328B #8B4823 #668B23
monochromatic
#0A0F29 #17205A #23328B #2F44BC #5467D4

Accessibility & contrast

On white

11.05
#23328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#23328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23328B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23328B#FFFFFF#000000##FFFFFF
##23328B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #23328b;
/* rgb */ color: rgb(35, 50, 139);
/* oklch */ color: oklch(36.6% 0.148 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#23328b',
    950: '#000000',
  },
}
SCSS
$custom: #23328b;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23328b",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 231.346,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36617,
    "c": 0.14801,
    "h": 269.9
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#23328B
secondary
#B8A952
accent
#CC45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23328B

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

Preview Lab → · Contrast checker → · Palette generator →

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