#3A39CB#3A39CB

#3A39CB is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.217 H 273.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3A39CB
RGBrgb(58, 57, 203)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(71.4%, 71.9%, 0%, 20.4%)
CIE-LABlab(34.26, 47.30, -74.83)
CIE-LCHlch(34.26, 88.52, 302.30°)
OKLaboklab(45.33% 0.0144 -0.2164)
OKLCHoklch(45.33% 0.217 273.8)
XYZxyz(13.9840, 8.1362, 57.3218)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39CB #CACB39
analogous
#3981CB #3A39CB #8339CB
triadic
#3A39CB #CB3A39 #39CB3A
tetradic
#3A39CB #CB3981 #CACB39 #39CB83
square
#3A39CB #CB3981 #CACB39 #39CB83
split-complementary
#3A39CB #CB8339 #81CB39
monochromatic
#1D1D6D #2A299D #3A39CB #6A69D8 #9A9AE4

Accessibility & contrast

On white

7.99
#3A39CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A39CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39CB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39CB#FFFFFF#000000##FFFFFF
##3A39CB1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004AC8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a39cb;
/* rgb */ color: rgb(58, 57, 203);
/* oklch */ color: oklch(45.3% 0.217 273.8);
Tailwind
colors: {
  custom: {
    50: '#8571dc',
    500: '#3a39cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a39cb;
$custom-light: #8571dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39cb",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 240.411,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.2169,
    "h": 273.8
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#3A39CB
secondary
#D0D090
accent
#E246E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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