#23327E#23327E

#23327E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.130 H 270.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#23327E
RGBrgb(35, 50, 126)
HSLhsl(230, 57%, 32%)
HSVhsv(230, 72%, 49%)
CMYKcmyk(72.2%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.14, 21.51, -44.93)
CIE-LCHlch(24.14, 49.81, 295.58°)
OKLaboklab(35.43% 0 -0.1295)
OKLCHoklch(35.43% 0.13 270)
XYZxyz(5.5983, 4.1443, 20.2395)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23327E #7E6F23
analogous
#23607E #23327E #42237E
triadic
#23327E #7E2332 #327E23
tetradic
#23327E #7E2360 #7E6F23 #237E42
square
#23327E #7E2360 #7E6F23 #237E42
split-complementary
#23327E #7E4223 #607E23
monochromatic
#080C1E #161F4E #23327E #3045AE #4E63CE

Accessibility & contrast

On white

11.48
#23327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23327E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23327E#FFFFFF#000000##FFFFFF
##23327E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23327e;
/* rgb */ color: rgb(35, 50, 126);
/* oklch */ color: oklch(35.4% 0.130 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a4',
    500: '#23327e',
    950: '#000000',
  },
}
SCSS
$custom: #23327e;
$custom-light: #6b69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23327e",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 230.11,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.1295,
    "h": 270
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23327E

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

Preview Lab → · Contrast checker → · Palette generator →

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