#23319C#23319C

#23319C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.172 H 269.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#23319C
RGBrgb(35, 49, 156)
HSLhsl(233, 63%, 37%)
HSVhsv(233, 78%, 61%)
CMYKcmyk(77.6%, 68.6%, 0%, 38.8%)
CIE-LABlab(26.60, 33.56, -59.51)
CIE-LCHlch(26.60, 68.32, 299.42°)
OKLaboklab(38.08% -0.0005 -0.1722)
OKLCHoklch(38.08% 0.172 269.8)
XYZxyz(7.7901, 4.9534, 31.9916)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23319C #9C8E23
analogous
#236D9C #23319C #52239C
triadic
#23319C #9C2331 #319C23
tetradic
#23319C #9C236D #9C8E23 #239C52
square
#23319C #9C236D #9C8E23 #239C52
split-complementary
#23319C #9C5223 #6D9C23
monochromatic
#0D1238 #18216A #23319C #2E41CE #5E6DDB

Accessibility & contrast

On white

10.55
#23319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#23319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23319C
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23319C#FFFFFF#000000##FFFFFF
##23319C1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23319c;
/* rgb */ color: rgb(35, 49, 156);
/* oklch */ color: oklch(38.1% 0.172 269.8);
Tailwind
colors: {
  custom: {
    50: '#7269ba',
    500: '#23319c',
    950: '#000000',
  },
}
SCSS
$custom: #23319c;
$custom-light: #7269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23319c",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 233.058,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.17223,
    "h": 269.8
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#23319C
secondary
#C0B45B
accent
#D341E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23319C

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

Preview Lab → · Contrast checker → · Palette generator →

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