#23328A#23328A

#23328A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.147 H 270.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#23328A
RGBrgb(35, 50, 138)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 54%)
CMYKcmyk(74.6%, 63.8%, 0%, 45.9%)
CIE-LABlab(25.18, 26.14, -50.76)
CIE-LCHlch(25.18, 57.09, 297.25°)
OKLaboklab(36.52% -0.0001 -0.1466)
OKLCHoklch(36.52% 0.147 270)
XYZxyz(6.4196, 4.4728, 24.5648)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23328A #8A7B23
analogous
#23668A #23328A #48238A
triadic
#23328A #8A2332 #328A23
tetradic
#23328A #8A2366 #8A7B23 #238A48
square
#23328A #8A2366 #8A7B23 #238A48
split-complementary
#23328A #8A4823 #668A23
monochromatic
#0A0F28 #172059 #23328A #2F44BB #5466D4

Accessibility & contrast

On white

11.08
#23328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#23328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23328A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23328A#FFFFFF#000000##FFFFFF
##23328A1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23328a;
/* rgb */ color: rgb(35, 50, 138);
/* oklch */ color: oklch(36.5% 0.147 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e69ad',
    500: '#23328a',
    950: '#000000',
  },
}
SCSS
$custom: #23328a;
$custom-light: #6e69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23328a",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 231.262,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36523,
    "c": 0.14662,
    "h": 270
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23328A

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

Preview Lab → · Contrast checker → · Palette generator →

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