#23117F#23117F

#23117F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.167 H 277.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#23117F
RGBrgb(35, 17, 127)
HSLhsl(250, 76%, 28%)
HSVhsv(250, 87%, 50%)
CMYKcmyk(72.4%, 86.6%, 0%, 50.2%)
CIE-LABlab(16.94, 41.83, -57.40)
CIE-LCHlch(16.94, 71.03, 306.09°)
OKLaboklab(30.29% 0.0206 -0.1658)
OKLCHoklch(30.29% 0.167 277.1)
XYZxyz(4.7231, 2.2901, 20.2677)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23117F #6D7F11
analogous
#11367F #23117F #5A117F
triadic
#23117F #7F2311 #117F23
tetradic
#23117F #7F1136 #6D7F11 #117F5A
square
#23117F #7F1136 #6D7F11 #117F5A
split-complementary
#23117F #7F5A11 #367F11
monochromatic
#07041B #140A49 #23117F #3218B5 #4728E2

Accessibility & contrast

On white

14.40
#23117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#23117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23117F
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23117F#FFFFFF#000000##FFFFFF
##23117F1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #23117f;
/* rgb */ color: rgb(35, 17, 127);
/* oklch */ color: oklch(30.3% 0.167 277.1);
Tailwind
colors: {
  custom: {
    50: '#6e54a5',
    500: '#23117f',
    950: '#000000',
  },
}
SCSS
$custom: #23117f;
$custom-light: #6e54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23117f",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 249.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30289,
    "c": 0.1671,
    "h": 277.1
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#23117F
secondary
#A0B537
accent
#F335D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23117F

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

Preview Lab → · Contrast checker → · Palette generator →

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