#3D3AA3#3D3AA3

#3D3AA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.164 H 277.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3D3AA3
RGBrgb(61, 58, 163)
HSLhsl(242, 48%, 43%)
HSVhsv(242, 64%, 64%)
CMYKcmyk(62.6%, 64.4%, 0%, 36.1%)
CIE-LABlab(31.02, 33.72, -56.45)
CIE-LCHlch(31.02, 65.75, 300.85°)
OKLaboklab(41.93% 0.0225 -0.1626)
OKLCHoklch(41.93% 0.164 277.9)
XYZxyz(10.0463, 6.6618, 35.3997)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AA3 #A0A33A
analogous
#3A6BA3 #3D3AA3 #713AA3
triadic
#3D3AA3 #A33D3A #3AA33D
tetradic
#3D3AA3 #A33A6B #A0A33A #3AA371
square
#3D3AA3 #A33A6B #A0A33A #3AA371
split-complementary
#3D3AA3 #A3713A #6BA33A
monochromatic
#1B1A49 #2C2A76 #3D3AA3 #5A57C3 #8684D3

Accessibility & contrast

On white

9.00
#3D3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3D3AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AA3
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AA3#FFFFFF#000000##FFFFFF
##3D3AA31.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d3aa3;
/* rgb */ color: rgb(61, 58, 163);
/* oklch */ color: oklch(41.9% 0.164 277.9);
Tailwind
colors: {
  custom: {
    50: '#7e70bf',
    500: '#3d3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #3d3aa3;
$custom-light: #7e70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3aa3",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 241.714,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.16411,
    "h": 277.9
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#3D3AA3
secondary
#BBBD7C
accent
#D751D3
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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