#23319E#23319E

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

Color values

HEX#23319E
RGBrgb(35, 49, 158)
HSLhsl(233, 64%, 38%)
HSVhsv(233, 78%, 62%)
CMYKcmyk(77.8%, 69%, 0%, 38%)
CIE-LABlab(26.80, 34.30, -60.41)
CIE-LCHlch(26.80, 69.46, 299.59°)
OKLaboklab(38.28% -0.0007 -0.1749)
OKLCHoklch(38.28% 0.175 269.8)
XYZxyz(7.9609, 5.0217, 32.8908)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23319E #9E9023
analogous
#236E9E #23319E #53239E
triadic
#23319E #9E2331 #319E23
tetradic
#23319E #9E236E #9E9023 #239E53
square
#23319E #9E236E #9E9023 #239E53
split-complementary
#23319E #9E5323 #6E9E23
monochromatic
#0D123A #18216C #23319E #2E41D0 #606EDC

Accessibility & contrast

On white

10.48
#23319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#23319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23319E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23319E#FFFFFF#000000##FFFFFF
##23319E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23319e;
/* rgb */ color: rgb(35, 49, 158);
/* oklch */ color: oklch(38.3% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#7369bc',
    500: '#23319e',
    950: '#000000',
  },
}
SCSS
$custom: #23319e;
$custom-light: #7369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23319e",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 233.171,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38281,
    "c": 0.17486,
    "h": 269.8
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#23319E
secondary
#C1B55C
accent
#D441E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23319E

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

Preview Lab → · Contrast checker → · Palette generator →

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