#23326B#23326B

#23326B is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.101 H 269.3°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#23326B
RGBrgb(35, 50, 107)
HSLhsl(228, 51%, 28%)
HSVhsv(228, 67%, 42%)
CMYKcmyk(67.3%, 53.3%, 0%, 58%)
CIE-LABlab(22.65, 14.10, -35.22)
CIE-LCHlch(22.65, 37.94, 291.81°)
OKLaboklab(33.84% -0.0012 -0.1009)
OKLCHoklch(33.84% 0.101 269.3)
XYZxyz(4.4867, 3.6997, 14.3847)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23326B #6B5C23
analogous
#23566B #23326B #38236B
triadic
#23326B #6B2332 #326B23
tetradic
#23326B #6B2356 #6B5C23 #236B38
square
#23326B #6B2356 #6B5C23 #236B38
split-complementary
#23326B #6B3823 #566B23
monochromatic
#080B17 #141C3D #23326B #324899 #4660C2

Accessibility & contrast

On white

12.07
#23326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#23326B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23326B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23326B#FFFFFF#000000##FFFFFF
##23326B1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23326b;
/* rgb */ color: rgb(35, 50, 107);
/* oklch */ color: oklch(33.8% 0.101 269.3);
Tailwind
colors: {
  custom: {
    50: '#666996',
    500: '#23326b',
    950: '#000000',
  },
}
SCSS
$custom: #23326b;
$custom-light: #666996;
$custom-dark: #000000;
JSON
{
  "hex": "#23326b",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 227.5,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33842,
    "c": 0.10095,
    "h": 269.3
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#23326B
secondary
#9E8D4B
accent
#BD4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #23326B

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

Preview Lab → · Contrast checker → · Palette generator →

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