#3A27AF#3A27AF

#3A27AF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.201 H 278.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3A27AF
RGBrgb(58, 39, 175)
HSLhsl(248, 64%, 42%)
HSVhsv(248, 78%, 69%)
CMYKcmyk(66.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(27.97, 48.14, -68.69)
CIE-LCHlch(27.97, 83.88, 305.02°)
OKLaboklab(40.03% 0.0299 -0.1984)
OKLCHoklch(40.03% 0.201 278.6)
XYZxyz(10.2058, 5.4449, 41.0623)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27AF #9CAF27
analogous
#2758AF #3A27AF #7E27AF
triadic
#3A27AF #AF3A27 #27AF3A
tetradic
#3A27AF #AF2758 #9CAF27 #27AF7E
square
#3A27AF #AF2758 #9CAF27 #27AF7E
split-complementary
#3A27AF #AF7E27 #58AF27
monochromatic
#19114B #291C7D #3A27AF #543FD4 #8071DF

Accessibility & contrast

On white

10.05
#3A27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27AF
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27AF#FFFFFF#000000##FFFFFF
##3A27AF1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a27af;
/* rgb */ color: rgb(58, 39, 175);
/* oklch */ color: oklch(40.0% 0.201 278.6);
Tailwind
colors: {
  custom: {
    50: '#8165c8',
    500: '#3a27af',
    950: '#000000',
  },
}
SCSS
$custom: #3a27af;
$custom-light: #8165c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27af",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 248.382,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.20064,
    "h": 278.6
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#3A27AF
secondary
#BAC66B
accent
#E741CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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