#23327A#23327A

#23327A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.124 H 269.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#23327A
RGBrgb(35, 50, 122)
HSLhsl(230, 55%, 31%)
HSVhsv(230, 71%, 48%)
CMYKcmyk(71.3%, 59%, 0%, 52.2%)
CIE-LABlab(23.81, 19.95, -42.94)
CIE-LCHlch(23.81, 47.35, 294.93°)
OKLaboklab(35.09% -0.0001 -0.1236)
OKLCHoklch(35.09% 0.124 269.9)
XYZxyz(5.3454, 4.0432, 18.9073)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23327A #7A6B23
analogous
#235D7A #23327A #3F237A
triadic
#23327A #7A2332 #327A23
tetradic
#23327A #7A235D #7A6B23 #237A3F
square
#23327A #7A235D #7A6B23 #237A3F
split-complementary
#23327A #7A3F23 #5D7A23
monochromatic
#080B1B #151F4A #23327A #3145AA #4C62CC

Accessibility & contrast

On white

11.61
#23327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#23327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23327A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23327A#FFFFFF#000000##FFFFFF
##23327A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23327a;
/* rgb */ color: rgb(35, 50, 122);
/* oklch */ color: oklch(35.1% 0.124 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a69a1',
    500: '#23327a',
    950: '#000000',
  },
}
SCSS
$custom: #23327a;
$custom-light: #6a69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23327a",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 229.655,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35085,
    "c": 0.12364,
    "h": 269.9
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#23327A
secondary
#AD9C4C
accent
#C549DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23327A

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

Preview Lab → · Contrast checker → · Palette generator →

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