#3A23B1#3A23B1

#3A23B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.206 H 278.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3A23B1
RGBrgb(58, 35, 177)
HSLhsl(250, 67%, 42%)
HSVhsv(250, 80%, 69%)
CMYKcmyk(67.2%, 80.2%, 0%, 30.6%)
CIE-LABlab(27.50, 50.70, -70.65)
CIE-LCHlch(27.50, 86.96, 305.66°)
OKLaboklab(39.77% 0.0314 -0.2041)
OKLCHoklch(39.77% 0.206 278.8)
XYZxyz(10.2792, 5.2751, 42.0629)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A23B1 #9AB123
analogous
#2353B1 #3A23B1 #8123B1
triadic
#3A23B1 #B13A23 #23B13A
tetradic
#3A23B1 #B12353 #9AB123 #23B181
square
#3A23B1 #B12353 #9AB123 #23B181
split-complementary
#3A23B1 #B18123 #53B123
monochromatic
#190F4B #29197E #3A23B1 #5339D8 #7F6CE2

Accessibility & contrast

On white

10.22
#3A23B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A23B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A23B1
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A23B1#FFFFFF#000000##FFFFFF
##3A23B11.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a23b1;
/* rgb */ color: rgb(58, 35, 177);
/* oklch */ color: oklch(39.8% 0.206 278.8);
Tailwind
colors: {
  custom: {
    50: '#8163ca',
    500: '#3a23b1',
    950: '#000000',
  },
}
SCSS
$custom: #3a23b1;
$custom-light: #8163ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a23b1",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 249.718,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3977,
    "c": 0.20646,
    "h": 278.8
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#3A23B1
secondary
#B9C868
accent
#EA3ECE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3A23B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3A23B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva