#3A27C9#3A27C9

#3A27C9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.231 H 275.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3A27C9
RGBrgb(58, 39, 201)
HSLhsl(247, 68%, 47%)
HSVhsv(247, 81%, 79%)
CMYKcmyk(71.1%, 80.6%, 0%, 21.2%)
CIE-LABlab(30.80, 55.96, -79.39)
CIE-LCHlch(30.80, 97.13, 305.18°)
OKLaboklab(42.83% 0.023 -0.2295)
OKLCHoklch(42.83% 0.231 275.7)
XYZxyz(13.0096, 6.5664, 55.8288)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27C9 #B6C927
analogous
#2765C9 #3A27C9 #8B27C9
triadic
#3A27C9 #C93A27 #27C93A
tetradic
#3A27C9 #C92765 #B6C927 #27C98B
square
#3A27C9 #C92765 #B6C927 #27C98B
split-complementary
#3A27C9 #C98B27 #65C927
monochromatic
#1C1362 #2B1D96 #3A27C9 #6150DD #8F83E7

Accessibility & contrast

On white

9.08
#3A27C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A27C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27C9
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27C9#FFFFFF#000000##FFFFFF
##3A27C91.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a27c9;
/* rgb */ color: rgb(58, 39, 201);
/* oklch */ color: oklch(42.8% 0.231 275.7);
Tailwind
colors: {
  custom: {
    50: '#8666db',
    500: '#3a27c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a27c9;
$custom-light: #8666db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27c9",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 201
  },
  "hsl": {
    "h": 247.037,
    "s": 67.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.23065,
    "h": 275.7
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#3A27C9
secondary
#C6D07C
accent
#EA3DD6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A27C9

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

Preview Lab → · Contrast checker → · Palette generator →

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