#3D3EA3#3D3EA3

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

Color values

HEX#3D3EA3
RGBrgb(61, 62, 163)
HSLhsl(239, 46%, 44%)
HSVhsv(239, 63%, 64%)
CMYKcmyk(62.6%, 62%, 0%, 36.1%)
CIE-LABlab(31.99, 31.18, -54.87)
CIE-LCHlch(31.99, 63.11, 299.61°)
OKLaboklab(42.64% 0.019 -0.1579)
OKLCHoklch(42.64% 0.159 276.8)
XYZxyz(10.2558, 7.0809, 35.4695)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EA3 #A3A23D
analogous
#3D71A3 #3D3EA3 #6F3DA3
triadic
#3D3EA3 #A33D3E #3EA33D
tetradic
#3D3EA3 #A33D71 #A3A23D #3DA36F
square
#3D3EA3 #A33D71 #A3A23D #3DA36F
split-complementary
#3D3EA3 #A36F3D #71A33D
monochromatic
#1C1C4A #2C2D76 #3D3EA3 #5B5CC2 #8889D2

Accessibility & contrast

On white

8.69
#3D3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D3EA3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EA3#FFFFFF#000000##FFFFFF
##3D3EA31.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3ea3;
/* rgb */ color: rgb(61, 62, 163);
/* oklch */ color: oklch(42.6% 0.159 276.8);
Tailwind
colors: {
  custom: {
    50: '#7e73bf',
    500: '#3d3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ea3;
$custom-light: #7e73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ea3",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 239.412,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.15904,
    "h": 276.8
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#3D3EA3
secondary
#BDBC7F
accent
#D453D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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