#3A39C0#3A39C0

#3A39C0 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.203 H 274.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3A39C0
RGBrgb(58, 57, 192)
HSLhsl(240, 54%, 49%)
HSVhsv(240, 70%, 75%)
CMYKcmyk(69.8%, 70.3%, 0%, 24.7%)
CIE-LABlab(33.20, 43.67, -70.15)
CIE-LCHlch(33.20, 82.63, 301.91°)
OKLaboklab(44.25% 0.0161 -0.2028)
OKLCHoklch(44.25% 0.203 274.5)
XYZxyz(12.7193, 7.6304, 50.6614)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39C0 #BFC039
analogous
#397CC0 #3A39C0 #7E39C0
triadic
#3A39C0 #C03A39 #39C03A
tetradic
#3A39C0 #C0397C #BFC039 #39C07E
square
#3A39C0 #C0397C #BFC039 #39C07E
split-complementary
#3A39C0 #C07E39 #7CC039
monochromatic
#1D1D62 #2C2B91 #3A39C0 #6665D1 #9594DF

Accessibility & contrast

On white

8.31
#3A39C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A39C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39C0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39C0#FFFFFF#000000##FFFFFF
##3A39C01.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0048BE
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a39c0;
/* rgb */ color: rgb(58, 57, 192);
/* oklch */ color: oklch(44.3% 0.203 274.5);
Tailwind
colors: {
  custom: {
    50: '#8370d4',
    500: '#3a39c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a39c0;
$custom-light: #8370d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39c0",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 240.444,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.2034,
    "h": 274.5
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#3A39C0
secondary
#CACB8A
accent
#DE4ADC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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