#23319F#23319F

#23319F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.176 H 269.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#23319F
RGBrgb(35, 49, 159)
HSLhsl(233, 64%, 38%)
HSVhsv(233, 78%, 62%)
CMYKcmyk(78%, 69.2%, 0%, 37.6%)
CIE-LABlab(26.89, 34.66, -60.85)
CIE-LCHlch(26.89, 70.03, 299.67°)
OKLaboklab(38.38% -0.0008 -0.1762)
OKLCHoklch(38.38% 0.176 269.7)
XYZxyz(8.0473, 5.0563, 33.3460)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23319F #9F9123
analogous
#236F9F #23319F #53239F
triadic
#23319F #9F2331 #319F23
tetradic
#23319F #9F236F #9F9123 #239F53
square
#23319F #9F236F #9F9123 #239F53
split-complementary
#23319F #9F5323 #6F9F23
monochromatic
#0D123B #18226D #23319F #2E41D1 #606EDC

Accessibility & contrast

On white

10.44
#23319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#23319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23319F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23319F#FFFFFF#000000##FFFFFF
##23319F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23319f;
/* rgb */ color: rgb(35, 49, 159);
/* oklch */ color: oklch(38.4% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#7369bc',
    500: '#23319f',
    950: '#000000',
  },
}
SCSS
$custom: #23319f;
$custom-light: #7369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23319f",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 233.226,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.17616,
    "h": 269.7
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#23319F
secondary
#C1B65D
accent
#D441E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23319F

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

Preview Lab → · Contrast checker → · Palette generator →

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