#23139F#23139F

#23139F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.4% C 0.203 H 272.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#23139F
RGBrgb(35, 19, 159)
HSLhsl(247, 79%, 35%)
HSVhsv(247, 88%, 62%)
CMYKcmyk(78%, 88.1%, 0%, 37.6%)
CIE-LABlab(21.30, 50.59, -70.11)
CIE-LCHlch(21.30, 86.46, 305.82°)
OKLaboklab(34.44% 0.0099 -0.2027)
OKLCHoklch(34.44% 0.203 272.8)
XYZxyz(7.1819, 3.3255, 33.0575)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23139F #8F9F13
analogous
#13499F #23139F #69139F
triadic
#23139F #9F2313 #139F23
tetradic
#23139F #9F1349 #8F9F13 #139F69
square
#23139F #9F1349 #8F9F13 #139F69
split-complementary
#23139F #9F6913 #499F13
monochromatic
#0B0632 #170C68 #23139F #2F1AD6 #5744E9

Accessibility & contrast

On white

12.61
#23139F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#23139F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23139F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23139F#FFFFFF#000000##FFFFFF
##23139F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23139f;
/* rgb */ color: rgb(35, 19, 159);
/* oklch */ color: oklch(34.4% 0.203 272.8);
Tailwind
colors: {
  custom: {
    50: '#7658bd',
    500: '#23139f',
    950: '#000000',
  },
}
SCSS
$custom: #23139f;
$custom-light: #7658bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23139f",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 159
  },
  "hsl": {
    "h": 246.857,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.20292,
    "h": 272.8
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#23139F
secondary
#BAC945
accent
#F533DF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #23139F

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

Preview Lab → · Contrast checker → · Palette generator →

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