#23327B#23327B

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

Color values

HEX#23327B
RGBrgb(35, 50, 123)
HSLhsl(230, 56%, 31%)
HSVhsv(230, 72%, 48%)
CMYKcmyk(71.5%, 59.3%, 0%, 51.8%)
CIE-LABlab(23.90, 20.34, -43.44)
CIE-LCHlch(23.90, 47.96, 295.10°)
OKLaboklab(35.17% -0.0001 -0.1251)
OKLCHoklch(35.17% 0.125 270)
XYZxyz(5.4077, 4.0681, 19.2353)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23327B #7B6C23
analogous
#235E7B #23327B #40237B
triadic
#23327B #7B2332 #327B23
tetradic
#23327B #7B235E #7B6C23 #237B40
square
#23327B #7B235E #7B6C23 #237B40
split-complementary
#23327B #7B4023 #5E7B23
monochromatic
#080B1C #151F4B #23327B #3145AB #4C62CC

Accessibility & contrast

On white

11.58
#23327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23327B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23327B#FFFFFF#000000##FFFFFF
##23327B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23327b;
/* rgb */ color: rgb(35, 50, 123);
/* oklch */ color: oklch(35.2% 0.125 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a69a2',
    500: '#23327b',
    950: '#000000',
  },
}
SCSS
$custom: #23327b;
$custom-light: #6a69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23327b",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 229.773,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35171,
    "c": 0.12512,
    "h": 270
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23327B

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

Preview Lab → · Contrast checker → · Palette generator →

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