#3D3FB8#3D3FB8

#3D3FB8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.186 H 275.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3D3FB8
RGBrgb(61, 63, 184)
HSLhsl(239, 50%, 48%)
HSVhsv(239, 67%, 72%)
CMYKcmyk(66.8%, 65.8%, 0%, 27.8%)
CIE-LABlab(34.00, 37.75, -64.12)
CIE-LCHlch(34.00, 74.41, 300.49°)
OKLaboklab(44.66% 0.0166 -0.185)
OKLCHoklch(44.66% 0.186 275.1)
XYZxyz(12.3509, 8.0067, 46.2327)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FB8 #B8B63D
analogous
#3D7DB8 #3D3FB8 #783DB8
triadic
#3D3FB8 #B83D3F #3FB83D
tetradic
#3D3FB8 #B83D7D #B8B63D #3DB878
square
#3D3FB8 #B83D7D #B8B63D #3DB878
split-complementary
#3D3FB8 #B8783D #7DB83D
monochromatic
#1F205C #2E2F8A #3D3FB8 #6668CC #9495DB

Accessibility & contrast

On white

8.07
#3D3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3D3FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FB8
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FB8#FFFFFF#000000##FFFFFF
##3D3FB81.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d3fb8;
/* rgb */ color: rgb(61, 63, 184);
/* oklch */ color: oklch(44.7% 0.186 275.1);
Tailwind
colors: {
  custom: {
    50: '#8274ce',
    500: '#3d3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fb8;
$custom-light: #8274ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fb8",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 239.024,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.1858,
    "h": 275.1
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#3D3FB8
secondary
#C7C68A
accent
#D74EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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