#3D3FA3#3D3FA3

#3D3FA3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.158 H 276.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3D3FA3
RGBrgb(61, 63, 163)
HSLhsl(239, 46%, 44%)
HSVhsv(239, 63%, 64%)
CMYKcmyk(62.6%, 61.3%, 0%, 36.1%)
CIE-LABlab(32.24, 30.54, -54.47)
CIE-LCHlch(32.24, 62.45, 299.28°)
OKLaboklab(42.82% 0.018 -0.1567)
OKLCHoklch(42.82% 0.158 276.6)
XYZxyz(10.3107, 7.1906, 35.4878)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FA3 #A3A13D
analogous
#3D72A3 #3D3FA3 #6E3DA3
triadic
#3D3FA3 #A33D3F #3FA33D
tetradic
#3D3FA3 #A33D72 #A3A13D #3DA36E
square
#3D3FA3 #A33D72 #A3A13D #3DA36E
split-complementary
#3D3FA3 #A36E3D #72A33D
monochromatic
#1C1D4A #2C2E76 #3D3FA3 #5B5DC2 #8889D2

Accessibility & contrast

On white

8.61
#3D3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3D3FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FA3
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FA3#FFFFFF#000000##FFFFFF
##3D3FA31.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3fa3;
/* rgb */ color: rgb(61, 63, 163);
/* oklch */ color: oklch(42.8% 0.158 276.6);
Tailwind
colors: {
  custom: {
    50: '#7e74bf',
    500: '#3d3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fa3;
$custom-light: #7e74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fa3",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 238.824,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42821,
    "c": 0.15775,
    "h": 276.6
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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