#3A39CA#3A39CA

#3A39CA is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.216 H 273.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3A39CA
RGBrgb(58, 57, 202)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 72%, 79%)
CMYKcmyk(71.3%, 71.8%, 0%, 20.8%)
CIE-LABlab(34.17, 46.97, -74.41)
CIE-LCHlch(34.17, 87.99, 302.26°)
OKLaboklab(45.23% 0.0146 -0.2152)
OKLCHoklch(45.23% 0.216 273.9)
XYZxyz(13.8652, 8.0887, 56.6962)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39CA #C9CA39
analogous
#3980CA #3A39CA #8239CA
triadic
#3A39CA #CA3A39 #39CA3A
tetradic
#3A39CA #CA3980 #C9CA39 #39CA82
square
#3A39CA #CA3980 #C9CA39 #39CA82
split-complementary
#3A39CA #CA8239 #80CA39
monochromatic
#1D1D6C #2B2A9C #3A39CA #6A69D7 #9A9AE4

Accessibility & contrast

On white

8.02
#3A39CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3A39CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39CA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39CA#FFFFFF#000000##FFFFFF
##3A39CA1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a39ca;
/* rgb */ color: rgb(58, 57, 202);
/* oklch */ color: oklch(45.2% 0.216 273.9);
Tailwind
colors: {
  custom: {
    50: '#8571db',
    500: '#3a39ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a39ca;
$custom-light: #8571db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39ca",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 240.414,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.21568,
    "h": 273.9
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#3A39CA
secondary
#CFD08F
accent
#E147E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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