#23328F#23328F

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

Color values

HEX#23328F
RGBrgb(35, 50, 143)
HSLhsl(232, 61%, 35%)
HSVhsv(232, 76%, 56%)
CMYKcmyk(75.5%, 65%, 0%, 43.9%)
CIE-LABlab(25.63, 28.04, -53.12)
CIE-LCHlch(25.63, 60.07, 297.83°)
OKLaboklab(36.99% -0.0003 -0.1535)
OKLCHoklch(36.99% 0.154 269.9)
XYZxyz(6.7900, 4.6210, 26.5154)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23328F #8F8023
analogous
#23688F #23328F #4A238F
triadic
#23328F #8F2332 #328F23
tetradic
#23328F #8F2368 #8F8023 #238F4A
square
#23328F #8F2368 #8F8023 #238F4A
split-complementary
#23328F #8F4A23 #688F23
monochromatic
#0B102D #17215E #23328F #2F43C0 #5768D6

Accessibility & contrast

On white

10.91
#23328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23328F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23328F#FFFFFF#000000##FFFFFF
##23328F1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23328f;
/* rgb */ color: rgb(35, 50, 143);
/* oklch */ color: oklch(37.0% 0.154 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f69b1',
    500: '#23328f',
    950: '#000000',
  },
}
SCSS
$custom: #23328f;
$custom-light: #6f69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23328f",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 231.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36994,
    "c": 0.15355,
    "h": 269.9
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#23328F
secondary
#BAAC54
accent
#CE44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #23328F

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

Preview Lab → · Contrast checker → · Palette generator →

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