#3A23BD#3A23BD

#3A23BD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.220 H 277.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3A23BD
RGBrgb(58, 35, 189)
HSLhsl(249, 69%, 44%)
HSVhsv(249, 81%, 74%)
CMYKcmyk(69.3%, 81.5%, 0%, 25.9%)
CIE-LABlab(28.84, 54.24, -75.58)
CIE-LCHlch(28.84, 93.03, 305.66°)
OKLaboklab(41.08% 0.0279 -0.2184)
OKLCHoklch(41.08% 0.22 277.3)
XYZxyz(11.5283, 5.7747, 48.6413)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A23BD #A6BD23
analogous
#2359BD #3A23BD #8723BD
triadic
#3A23BD #BD3A23 #23BD3A
tetradic
#3A23BD #BD2359 #A6BD23 #23BD87
square
#3A23BD #BD2359 #A6BD23 #23BD87
split-complementary
#3A23BD #BD8723 #59BD23
monochromatic
#1A1056 #2A1989 #3A23BD #5841DC #8675E5

Accessibility & contrast

On white

9.74
#3A23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3A23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A23BD
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A23BD#FFFFFF#000000##FFFFFF
##3A23BD1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a23bd;
/* rgb */ color: rgb(58, 35, 189);
/* oklch */ color: oklch(41.1% 0.220 277.3);
Tailwind
colors: {
  custom: {
    50: '#8463d2',
    500: '#3a23bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a23bd;
$custom-light: #8463d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a23bd",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 248.961,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.22017,
    "h": 277.3
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#3A23BD
secondary
#BFCD6F
accent
#EC3CD1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3A23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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