#23319A#23319A

#23319A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.170 H 269.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#23319A
RGBrgb(35, 49, 154)
HSLhsl(233, 63%, 37%)
HSVhsv(233, 77%, 60%)
CMYKcmyk(77.3%, 68.2%, 0%, 39.6%)
CIE-LABlab(26.41, 32.82, -58.61)
CIE-LCHlch(26.41, 67.17, 299.25°)
OKLaboklab(37.88% -0.0004 -0.1696)
OKLCHoklch(37.88% 0.17 269.9)
XYZxyz(7.6222, 4.8862, 31.1070)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23319A #9A8C23
analogous
#236D9A #23319A #51239A
triadic
#23319A #9A2331 #319A23
tetradic
#23319A #9A236D #9A8C23 #239A51
square
#23319A #9A236D #9A8C23 #239A51
split-complementary
#23319A #9A5123 #6D9A23
monochromatic
#0C1136 #182168 #23319A #2E41CC #5D6CDA

Accessibility & contrast

On white

10.62
#23319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#23319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23319A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23319A#FFFFFF#000000##FFFFFF
##23319A1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #23319a;
/* rgb */ color: rgb(35, 49, 154);
/* oklch */ color: oklch(37.9% 0.170 269.9);
Tailwind
colors: {
  custom: {
    50: '#7269b9',
    500: '#23319a',
    950: '#000000',
  },
}
SCSS
$custom: #23319a;
$custom-light: #7269b9;
$custom-dark: #000000;
JSON
{
  "hex": "#23319a",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 232.941,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37881,
    "c": 0.16959,
    "h": 269.9
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#23319A
secondary
#BFB35A
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23319A

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

Preview Lab → · Contrast checker → · Palette generator →

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