#23327C#23327C

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

Color values

HEX#23327C
RGBrgb(35, 50, 124)
HSLhsl(230, 56%, 31%)
HSVhsv(230, 72%, 49%)
CMYKcmyk(71.8%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.98, 20.73, -43.94)
CIE-LCHlch(23.98, 48.58, 295.26°)
OKLaboklab(35.26% -0.0001 -0.1266)
OKLCHoklch(35.26% 0.127 270)
XYZxyz(5.4706, 4.0932, 19.5666)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23327C #7C6D23
analogous
#235E7C #23327C #40237C
triadic
#23327C #7C2332 #327C23
tetradic
#23327C #7C235E #7C6D23 #237C40
square
#23327C #7C235E #7C6D23 #237C40
split-complementary
#23327C #7C4023 #5E7C23
monochromatic
#080C1D #161F4C #23327C #3045AC #4D62CD

Accessibility & contrast

On white

11.55
#23327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23327C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23327C#FFFFFF#000000##FFFFFF
##23327C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23327c;
/* rgb */ color: rgb(35, 50, 124);
/* oklch */ color: oklch(35.3% 0.127 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a69a3',
    500: '#23327c',
    950: '#000000',
  },
}
SCSS
$custom: #23327c;
$custom-light: #6a69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23327c",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 229.888,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35259,
    "c": 0.12658,
    "h": 270
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#23327C
secondary
#AF9E4C
accent
#C649DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23327C

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

Preview Lab → · Contrast checker → · Palette generator →

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