#3D3FAF#3D3FAF

#3D3FAF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.174 H 275.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3D3FAF
RGBrgb(61, 63, 175)
HSLhsl(239, 48%, 46%)
HSVhsv(239, 65%, 69%)
CMYKcmyk(65.1%, 64%, 0%, 31.4%)
CIE-LABlab(33.22, 34.68, -60.05)
CIE-LCHlch(33.22, 69.34, 300.00°)
OKLaboklab(43.85% 0.0174 -0.1731)
OKLCHoklch(43.85% 0.174 275.7)
XYZxyz(11.4373, 7.6413, 41.4213)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FAF #AFAD3D
analogous
#3D78AF #3D3FAF #743DAF
triadic
#3D3FAF #AF3D3F #3FAF3D
tetradic
#3D3FAF #AF3D78 #AFAD3D #3DAF74
square
#3D3FAF #AF3D78 #AFAD3D #3DAF74
split-complementary
#3D3FAF #AF743D #78AF3D
monochromatic
#1D1E54 #2D2F82 #3D3FAF #6163C8 #8F90D8

Accessibility & contrast

On white

8.31
#3D3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3D3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FAF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FAF#FFFFFF#000000##FFFFFF
##3D3FAF1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d3faf;
/* rgb */ color: rgb(61, 63, 175);
/* oklch */ color: oklch(43.9% 0.174 275.7);
Tailwind
colors: {
  custom: {
    50: '#8074c8',
    500: '#3d3faf',
    950: '#000000',
  },
}
SCSS
$custom: #3d3faf;
$custom-light: #8074c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3faf",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 238.947,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.17397,
    "h": 275.7
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#3D3FAF
secondary
#C3C285
accent
#D550D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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