#3A39B8#3A39B8

#3A39B8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.193 H 275.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3A39B8
RGBrgb(58, 57, 184)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 72%)
CMYKcmyk(68.5%, 69%, 0%, 27.8%)
CIE-LABlab(32.45, 41.00, -66.67)
CIE-LCHlch(32.45, 78.27, 301.59°)
OKLaboklab(43.48% 0.0173 -0.1926)
OKLCHoklch(43.48% 0.193 275.1)
XYZxyz(11.8569, 7.2854, 46.1195)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A39B8 #B7B839
analogous
#3978B8 #3A39B8 #7939B8
triadic
#3A39B8 #B83A39 #39B83A
tetradic
#3A39B8 #B83978 #B7B839 #39B879
square
#3A39B8 #B83978 #B7B839 #39B879
split-complementary
#3A39B8 #B87939 #78B839
monochromatic
#1D1C5B #2B2B89 #3A39B8 #6160CE #908FDC

Accessibility & contrast

On white

8.55
#3A39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A39B8
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A39B8#FFFFFF#000000##FFFFFF
##3A39B81.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a39b8;
/* rgb */ color: rgb(58, 57, 184);
/* oklch */ color: oklch(43.5% 0.193 275.1);
Tailwind
colors: {
  custom: {
    50: '#8170ce',
    500: '#3a39b8',
    950: '#000000',
  },
}
SCSS
$custom: #3a39b8;
$custom-light: #8170ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a39b8",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 240.472,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.19337,
    "h": 275.1
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#3A39B8
secondary
#C7C786
accent
#DC4CDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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