#3D39B8#3D39B8

#3D39B8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.193 H 276.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3D39B8
RGBrgb(61, 57, 184)
HSLhsl(242, 53%, 47%)
HSVhsv(242, 69%, 72%)
CMYKcmyk(66.8%, 69%, 0%, 27.8%)
CIE-LABlab(32.65, 41.38, -66.33)
CIE-LCHlch(32.65, 78.17, 301.96°)
OKLaboklab(43.68% 0.021 -0.1915)
OKLCHoklch(43.68% 0.193 276.2)
XYZxyz(12.0365, 7.3780, 46.1279)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D39B8 #B4B839
analogous
#3974B8 #3D39B8 #7D39B8
triadic
#3D39B8 #B83D39 #39B83D
tetradic
#3D39B8 #B83974 #B4B839 #39B87D
square
#3D39B8 #B83974 #B4B839 #39B87D
split-complementary
#3D39B8 #B87D39 #74B839
monochromatic
#1E1C5B #2E2B89 #3D39B8 #6460CE #928FDC

Accessibility & contrast

On white

8.48
#3D39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3D39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D39B8
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D39B8#FFFFFF#000000##FFFFFF
##3D39B81.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d39b8;
/* rgb */ color: rgb(61, 57, 184);
/* oklch */ color: oklch(43.7% 0.193 276.2);
Tailwind
colors: {
  custom: {
    50: '#8270ce',
    500: '#3d39b8',
    950: '#000000',
  },
}
SCSS
$custom: #3d39b8;
$custom-light: #8270ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d39b8",
  "rgb": {
    "r": 61,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 241.89,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.19265,
    "h": 276.2
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#3D39B8
secondary
#C5C786
accent
#DC4CD8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3D39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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