#3D3AAF#3D3AAF

#3D3AAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.180 H 276.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3D3AAF
RGBrgb(61, 58, 175)
HSLhsl(242, 50%, 46%)
HSVhsv(242, 67%, 69%)
CMYKcmyk(65.1%, 66.9%, 0%, 31.4%)
CIE-LABlab(32.06, 37.77, -61.95)
CIE-LCHlch(32.06, 72.56, 301.37°)
OKLaboklab(43.01% 0.0214 -0.1787)
OKLCHoklch(43.01% 0.18 276.8)
XYZxyz(11.1729, 7.1124, 41.3332)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AAF #ACAF3A
analogous
#3A72AF #3D3AAF #773AAF
triadic
#3D3AAF #AF3D3A #3AAF3D
tetradic
#3D3AAF #AF3A72 #ACAF3A #3AAF77
square
#3D3AAF #AF3A72 #ACAF3A #3AAF77
split-complementary
#3D3AAF #AF773A #72AF3A
monochromatic
#1D1C53 #2D2B81 #3D3AAF #605DC9 #8D8BD9

Accessibility & contrast

On white

8.67
#3D3AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3D3AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AAF
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AAF#FFFFFF#000000##FFFFFF
##3D3AAF1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3aaf;
/* rgb */ color: rgb(61, 58, 175);
/* oklch */ color: oklch(43.0% 0.180 276.8);
Tailwind
colors: {
  custom: {
    50: '#8071c8',
    500: '#3d3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3d3aaf;
$custom-light: #8071c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3aaf",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 241.538,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.17997,
    "h": 276.8
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#3D3AAF
secondary
#C1C382
accent
#DA4ED6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3D3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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