#3A39C8#3A39C8

#3A39C8 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.213 H 274.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3A39C8
RGBrgb(58, 57, 200)
HSLhsl(240, 57%, 50%)
HSVhsv(240, 72%, 78%)
CMYKcmyk(71%, 71.5%, 0%, 21.6%)
CIE-LABlab(33.97, 46.32, -73.56)
CIE-LCHlch(33.97, 86.93, 302.19°)
OKLaboklab(45.04% 0.0149 -0.2127)
OKLCHoklch(45.04% 0.213 274)
XYZxyz(13.6299, 7.9946, 55.4572)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39C8 #C7C839
analogous
#397FC8 #3A39C8 #8239C8
triadic
#3A39C8 #C83A39 #39C83A
tetradic
#3A39C8 #C8397F #C7C839 #39C882
square
#3A39C8 #C8397F #C7C839 #39C882
split-complementary
#3A39C8 #C88239 #7FC839
monochromatic
#1E1D69 #2B2B99 #3A39C8 #6A69D5 #9999E3

Accessibility & contrast

On white

8.08
#3A39C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A39C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39C8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39C8#FFFFFF#000000##FFFFFF
##3A39C81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a39c8;
/* rgb */ color: rgb(58, 57, 200);
/* oklch */ color: oklch(45.0% 0.213 274.0);
Tailwind
colors: {
  custom: {
    50: '#8571da',
    500: '#3a39c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a39c8;
$custom-light: #8571da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39c8",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 240.42,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.21325,
    "h": 274
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#3A39C8
secondary
#CECE8F
accent
#E048DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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