#231993#231993

#231993 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.185 H 273.6°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#231993
RGBrgb(35, 25, 147)
HSLhsl(245, 71%, 34%)
HSVhsv(245, 83%, 58%)
CMYKcmyk(76.2%, 83%, 0%, 42.4%)
CIE-LABlab(20.67, 44.36, -63.77)
CIE-LCHlch(20.67, 77.68, 304.82°)
OKLaboklab(33.57% 0.0117 -0.1845)
OKLCHoklch(33.57% 0.185 273.6)
XYZxyz(6.3055, 3.1585, 27.8754)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231993 #899319
analogous
#194C93 #231993 #601993
triadic
#231993 #932319 #199323
tetradic
#231993 #93194C #899319 #199360
square
#231993 #93194C #899319 #199360
split-complementary
#231993 #936019 #4C9319
monochromatic
#0A072A #17105F #231993 #2F22C7 #5347E0

Accessibility & contrast

On white

12.87
#231993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#231993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231993
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231993#FFFFFF#000000##FFFFFF
##2319931.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231993;
/* rgb */ color: rgb(35, 25, 147);
/* oklch */ color: oklch(33.6% 0.185 273.6);
Tailwind
colors: {
  custom: {
    50: '#725ab4',
    500: '#231993',
    950: '#000000',
  },
}
SCSS
$custom: #231993;
$custom-light: #725ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#231993",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 244.918,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.18483,
    "h": 273.6
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#231993
secondary
#B7C147
accent
#EE3ADF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231993

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

Preview Lab → · Contrast checker → · Palette generator →

#231993 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva