#3D3A9B#3D3A9B

#3D3A9B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.153 H 278.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3D3A9B
RGBrgb(61, 58, 155)
HSLhsl(242, 46%, 42%)
HSVhsv(242, 63%, 61%)
CMYKcmyk(60.6%, 62.6%, 0%, 39.2%)
CIE-LABlab(30.36, 31.00, -52.68)
CIE-LCHlch(30.36, 61.12, 300.47°)
OKLaboklab(41.24% 0.0231 -0.1515)
OKLCHoklch(41.24% 0.153 278.7)
XYZxyz(9.3520, 6.3841, 31.7434)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3A9B #989B3A
analogous
#3A689B #3D3A9B #6E3A9B
triadic
#3D3A9B #9B3D3A #3A9B3D
tetradic
#3D3A9B #9B3A68 #989B3A #3A9B6E
square
#3D3A9B #9B3A68 #989B3A #3A9B6E
split-complementary
#3D3A9B #9B6E3A #689B3A
monochromatic
#1A1942 #2B296E #3D3A9B #5753BF #8280CF

Accessibility & contrast

On white

9.22
#3D3A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3D3A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3A9B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3A9B#FFFFFF#000000##FFFFFF
##3D3A9B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d3a9b;
/* rgb */ color: rgb(61, 58, 155);
/* oklch */ color: oklch(41.2% 0.153 278.7);
Tailwind
colors: {
  custom: {
    50: '#7d70b9',
    500: '#3d3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #3d3a9b;
$custom-light: #7d70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3a9b",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 241.856,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.15325,
    "h": 278.7
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#3D3A9B
secondary
#B7B978
accent
#D553D1
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3D3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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