#23327F#23327F

#23327F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.131 H 270.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#23327F
RGBrgb(35, 50, 127)
HSLhsl(230, 57%, 32%)
HSVhsv(230, 72%, 50%)
CMYKcmyk(72.4%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.23, 21.90, -45.42)
CIE-LCHlch(24.23, 50.43, 295.74°)
OKLaboklab(35.52% 0 -0.131)
OKLCHoklch(35.52% 0.131 270)
XYZxyz(5.6632, 4.1703, 20.5810)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23327F #7F7023
analogous
#23607F #23327F #42237F
triadic
#23327F #7F2332 #327F23
tetradic
#23327F #7F2360 #7F7023 #237F42
square
#23327F #7F2360 #7F7023 #237F42
split-complementary
#23327F #7F4223 #607F23
monochromatic
#090C1F #161F4F #23327F #3045AF #4E63CE

Accessibility & contrast

On white

11.45
#23327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#23327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23327F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23327F#FFFFFF#000000##FFFFFF
##23327F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23327f;
/* rgb */ color: rgb(35, 50, 127);
/* oklch */ color: oklch(35.5% 0.131 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a5',
    500: '#23327f',
    950: '#000000',
  },
}
SCSS
$custom: #23327f;
$custom-light: #6b69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23327f",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 230.217,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35523,
    "c": 0.13096,
    "h": 270
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#23327F
secondary
#B1A14C
accent
#C748E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23327F

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

Preview Lab → · Contrast checker → · Palette generator →

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