#3A27CA#3A27CA

#3A27CA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.9% C 0.232 H 275.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3A27CA
RGBrgb(58, 39, 202)
HSLhsl(247, 68%, 47%)
HSVhsv(247, 81%, 79%)
CMYKcmyk(71.3%, 80.7%, 0%, 20.8%)
CIE-LABlab(30.91, 56.25, -79.79)
CIE-LCHlch(30.91, 97.63, 305.19°)
OKLaboklab(42.94% 0.0227 -0.2307)
OKLCHoklch(42.94% 0.232 275.6)
XYZxyz(13.1276, 6.6136, 56.4504)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27CA #B7CA27
analogous
#2765CA #3A27CA #8C27CA
triadic
#3A27CA #CA3A27 #27CA3A
tetradic
#3A27CA #CA2765 #B7CA27 #27CA8C
square
#3A27CA #CA2765 #B7CA27 #27CA8C
split-complementary
#3A27CA #CA8C27 #65CA27
monochromatic
#1D1363 #2B1D97 #3A27CA #6151DD #9084E7

Accessibility & contrast

On white

9.04
#3A27CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3A27CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27CA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27CA#FFFFFF#000000##FFFFFF
##3A27CA1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a27ca;
/* rgb */ color: rgb(58, 39, 202);
/* oklch */ color: oklch(42.9% 0.232 275.6);
Tailwind
colors: {
  custom: {
    50: '#8666dc',
    500: '#3a27ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a27ca;
$custom-light: #8666dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27ca",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 246.994,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.23178,
    "h": 275.6
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#3A27CA
secondary
#C7D07C
accent
#EB3DD6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A27CA

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

Preview Lab → · Contrast checker → · Palette generator →

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