#3D3FBF#3D3FBF

#3D3FBF is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.195 H 274.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3D3FBF
RGBrgb(61, 63, 191)
HSLhsl(239, 52%, 49%)
HSVhsv(239, 68%, 75%)
CMYKcmyk(68.1%, 67%, 0%, 25.1%)
CIE-LABlab(34.62, 40.12, -67.23)
CIE-LCHlch(34.62, 78.29, 300.83°)
OKLaboklab(45.29% 0.0159 -0.1941)
OKLCHoklch(45.29% 0.195 274.7)
XYZxyz(13.1028, 8.3075, 50.1931)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FBF #BFBD3D
analogous
#3D80BF #3D3FBF #7C3DBF
triadic
#3D3FBF #BF3D3F #3FBF3D
tetradic
#3D3FBF #BF3D80 #BFBD3D #3DBF7C
square
#3D3FBF #BF3D80 #BFBD3D #3DBF7C
split-complementary
#3D3FBF #BF7C3D #80BF3D
monochromatic
#1F2062 #2E3091 #3D3FBF #6A6BCF #9899DE

Accessibility & contrast

On white

7.89
#3D3FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3D3FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FBF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FBF#FFFFFF#000000##FFFFFF
##3D3FBF1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d3fbf;
/* rgb */ color: rgb(61, 63, 191);
/* oklch */ color: oklch(45.3% 0.195 274.7);
Tailwind
colors: {
  custom: {
    50: '#8375d3',
    500: '#3d3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fbf;
$custom-light: #8375d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fbf",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 239.077,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45294,
    "c": 0.1948,
    "h": 274.7
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#3D3FBF
secondary
#CAC98E
accent
#D94DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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