#3B23BA#3B23BA

#3B23BA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.217 H 278.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3B23BA
RGBrgb(59, 35, 186)
HSLhsl(250, 68%, 43%)
HSVhsv(250, 81%, 73%)
CMYKcmyk(68.3%, 81.2%, 0%, 27.1%)
CIE-LABlab(28.58, 53.45, -74.23)
CIE-LCHlch(28.58, 91.47, 305.75°)
OKLaboklab(40.83% 0.0302 -0.2144)
OKLCHoklch(40.83% 0.217 278)
XYZxyz(11.2647, 5.6761, 46.9468)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B23BA #A2BA23
analogous
#2357BA #3B23BA #8623BA
triadic
#3B23BA #BA3B23 #23BA3B
tetradic
#3B23BA #BA2357 #A2BA23 #23BA86
square
#3B23BA #BA2357 #A2BA23 #23BA86
split-complementary
#3B23BA #BA8623 #57BA23
monochromatic
#1A1053 #2B1986 #3B23BA #583FDB #8573E5

Accessibility & contrast

On white

9.83
#3B23BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B23BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B23BA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B23BA#FFFFFF#000000##FFFFFF
##3B23BA1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BE
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b23ba;
/* rgb */ color: rgb(59, 35, 186);
/* oklch */ color: oklch(40.8% 0.217 278.0);
Tailwind
colors: {
  custom: {
    50: '#8463d0',
    500: '#3b23ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b23ba;
$custom-light: #8463d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b23ba",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 249.536,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.21656,
    "h": 278
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#3B23BA
secondary
#BDCC6D
accent
#EB3DCF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3B23BA

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

Preview Lab → · Contrast checker → · Palette generator →

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