#3A27BB#3A27BB

#3A27BB is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.215 H 277.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3A27BB
RGBrgb(58, 39, 187)
HSLhsl(248, 65%, 44%)
HSVhsv(248, 79%, 73%)
CMYKcmyk(69%, 79.1%, 0%, 26.7%)
CIE-LABlab(29.25, 51.79, -73.71)
CIE-LCHlch(29.25, 90.08, 305.09°)
OKLaboklab(41.31% 0.0268 -0.213)
OKLCHoklch(41.31% 0.215 277.2)
XYZxyz(11.4372, 5.9374, 47.5474)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27BB #A8BB27
analogous
#275EBB #3A27BB #8427BB
triadic
#3A27BB #BB3A27 #27BB3A
tetradic
#3A27BB #BB275E #A8BB27 #27BB84
square
#3A27BB #BB275E #A8BB27 #27BB84
split-complementary
#3A27BB #BB8427 #5EBB27
monochromatic
#1B1256 #2A1C88 #3A27BB #5947D9 #8779E3

Accessibility & contrast

On white

9.60
#3A27BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A27BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27BB
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27BB#FFFFFF#000000##FFFFFF
##3A27BB1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a27bb;
/* rgb */ color: rgb(58, 39, 187);
/* oklch */ color: oklch(41.3% 0.215 277.2);
Tailwind
colors: {
  custom: {
    50: '#8365d1',
    500: '#3a27bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a27bb;
$custom-light: #8365d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27bb",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 247.703,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.21467,
    "h": 277.2
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#3A27BB
secondary
#C0CB73
accent
#E83FD3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A27BB

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

Preview Lab → · Contrast checker → · Palette generator →

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