#3A23BC#3A23BC

#3A23BC is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 41.0% C 0.219 H 277.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3A23BC
RGBrgb(58, 35, 188)
HSLhsl(249, 69%, 44%)
HSVhsv(249, 81%, 74%)
CMYKcmyk(69.1%, 81.4%, 0%, 26.3%)
CIE-LABlab(28.72, 53.95, -75.18)
CIE-LCHlch(28.72, 92.53, 305.66°)
OKLaboklab(40.97% 0.0282 -0.2172)
OKLCHoklch(40.97% 0.219 277.4)
XYZxyz(11.4201, 5.7314, 48.0716)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A23BC #A5BC23
analogous
#2358BC #3A23BC #8623BC
triadic
#3A23BC #BC3A23 #23BC3A
tetradic
#3A23BC #BC2358 #A5BC23 #23BC86
square
#3A23BC #BC2358 #A5BC23 #23BC86
split-complementary
#3A23BC #BC8623 #58BC23
monochromatic
#1A1055 #2A1988 #3A23BC #5841DC #8574E5

Accessibility & contrast

On white

9.78
#3A23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A23BC
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A23BC#FFFFFF#000000##FFFFFF
##3A23BC1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#003DB9
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a23bc;
/* rgb */ color: rgb(58, 35, 188);
/* oklch */ color: oklch(41.0% 0.219 277.4);
Tailwind
colors: {
  custom: {
    50: '#8463d2',
    500: '#3a23bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a23bc;
$custom-light: #8463d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a23bc",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 249.02,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.21905,
    "h": 277.4
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#3A23BC
secondary
#BECC6F
accent
#EB3CD1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3A23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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