#3D3DFF#3D3DFF

#3D3DFF is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.4% C 0.273 H 271.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3D3DFF
RGBrgb(61, 61, 255)
HSLhsl(240, 100%, 62%)
HSVhsv(240, 76%, 100%)
CMYKcmyk(76.1%, 76.1%, 0%, 0%)
CIE-LABlab(40.49, 61.82, -94.17)
CIE-LCHlch(40.49, 112.65, 303.28°)
OKLaboklab(51.35% 0.0069 -0.2726)
OKLCHoklch(51.35% 0.273 271.4)
XYZxyz(21.6371, 11.5472, 95.6768)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3DFF #FFFF3D
analogous
#3D9EFF #3D3DFF #9E3DFF
triadic
#3D3DFF #FF3D3D #3DFF3D
tetradic
#3D3DFF #FF3D9E #FFFF3D #3DFF9E
square
#3D3DFF #FF3D9E #FFFF3D #3DFF9E
split-complementary
#3D3DFF #FF9E3D #9EFF3D
monochromatic
#0000C2 #0000FF #3D3DFF #7A7AFF #B7B7FF

Accessibility & contrast

On white

6.34
#3D3DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3D3DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D3DFF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3DFF#FFFFFF#000000##FFFFFF
##3D3DFF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FF
Deuteranopia (green-blind)
#0055FC
Tritanopia (blue-blind)
#00789D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d3dff;
/* rgb */ color: rgb(61, 61, 255);
/* oklch */ color: oklch(51.4% 0.273 271.4);
Tailwind
colors: {
  custom: {
    50: '#9176ff',
    500: '#3d3dff',
    950: '#000000',
  },
}
SCSS
$custom: #3d3dff;
$custom-light: #9176ff;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3dff",
  "rgb": {
    "r": 61,
    "g": 61,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 61.961
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.27273,
    "h": 271.4
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#3D3DFF
secondary
#F0F0A8
accent
#E600E5
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0918
muted
#7F7B86

Preview Lab

Preview with #3D3DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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