#23327D#23327D

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

Color values

HEX#23327D
RGBrgb(35, 50, 125)
HSLhsl(230, 56%, 31%)
HSVhsv(230, 72%, 49%)
CMYKcmyk(72%, 60%, 0%, 51%)
CIE-LABlab(24.06, 21.12, -44.43)
CIE-LCHlch(24.06, 49.20, 295.42°)
OKLaboklab(35.35% 0 -0.128)
OKLCHoklch(35.35% 0.128 270)
XYZxyz(5.5341, 4.1187, 19.9014)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23327D #7D6E23
analogous
#235F7D #23327D #41237D
triadic
#23327D #7D2332 #327D23
tetradic
#23327D #7D235F #7D6E23 #237D41
square
#23327D #7D235F #7D6E23 #237D41
split-complementary
#23327D #7D4123 #5F7D23
monochromatic
#080C1D #161F4D #23327D #3045AD #4D63CD

Accessibility & contrast

On white

11.51
#23327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#23327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23327D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23327D#FFFFFF#000000##FFFFFF
##23327D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23327d;
/* rgb */ color: rgb(35, 50, 125);
/* oklch */ color: oklch(35.3% 0.128 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a3',
    500: '#23327d',
    950: '#000000',
  },
}
SCSS
$custom: #23327d;
$custom-light: #6b69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23327d",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 230,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35346,
    "c": 0.12805,
    "h": 270
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#23327D
secondary
#AF9F4C
accent
#C648E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23327D

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

Preview Lab → · Contrast checker → · Palette generator →

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