#23319B#23319B

#23319B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.171 H 269.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#23319B
RGBrgb(35, 49, 155)
HSLhsl(233, 63%, 37%)
HSVhsv(233, 77%, 61%)
CMYKcmyk(77.4%, 68.4%, 0%, 39.2%)
CIE-LABlab(26.50, 33.19, -59.06)
CIE-LCHlch(26.50, 67.75, 299.34°)
OKLaboklab(37.98% -0.0004 -0.1709)
OKLCHoklch(37.98% 0.171 269.8)
XYZxyz(7.7058, 4.9197, 31.5475)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23319B #9B8D23
analogous
#236D9B #23319B #51239B
triadic
#23319B #9B2331 #319B23
tetradic
#23319B #9B236D #9B8D23 #239B51
square
#23319B #9B236D #9B8D23 #239B51
split-complementary
#23319B #9B5123 #6D9B23
monochromatic
#0C1137 #182169 #23319B #2E41CD #5E6CDB

Accessibility & contrast

On white

10.58
#23319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23319B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23319B#FFFFFF#000000##FFFFFF
##23319B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23319b;
/* rgb */ color: rgb(35, 49, 155);
/* oklch */ color: oklch(38.0% 0.171 269.8);
Tailwind
colors: {
  custom: {
    50: '#7269ba',
    500: '#23319b',
    950: '#000000',
  },
}
SCSS
$custom: #23319b;
$custom-light: #7269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#23319b",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 233,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37981,
    "c": 0.17092,
    "h": 269.8
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#23319B
secondary
#BFB45A
accent
#D342E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23319B

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

Preview Lab → · Contrast checker → · Palette generator →

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