#3D3EA2#3D3EA2

#3D3EA2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.158 H 276.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3D3EA2
RGBrgb(61, 62, 162)
HSLhsl(239, 45%, 44%)
HSVhsv(239, 62%, 64%)
CMYKcmyk(62.3%, 61.7%, 0%, 36.5%)
CIE-LABlab(31.91, 30.84, -54.40)
CIE-LCHlch(31.91, 62.53, 299.55°)
OKLaboklab(42.55% 0.019 -0.1565)
OKLCHoklch(42.55% 0.158 276.9)
XYZxyz(10.1666, 7.0452, 34.9995)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EA2 #A2A13D
analogous
#3D70A2 #3D3EA2 #6E3DA2
triadic
#3D3EA2 #A23D3E #3EA23D
tetradic
#3D3EA2 #A23D70 #A2A13D #3DA26E
square
#3D3EA2 #A23D70 #A2A13D #3DA26E
split-complementary
#3D3EA2 #A26E3D #70A23D
monochromatic
#1C1C49 #2C2D76 #3D3EA2 #5B5CC1 #8788D2

Accessibility & contrast

On white

8.72
#3D3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3D3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EA2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EA2#FFFFFF#000000##FFFFFF
##3D3EA21.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3ea2;
/* rgb */ color: rgb(61, 62, 162);
/* oklch */ color: oklch(42.6% 0.158 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e73be',
    500: '#3d3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ea2;
$custom-light: #7e73be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ea2",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 239.406,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42554,
    "c": 0.15768,
    "h": 276.9
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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