#3D3BA8#3D3BA8

#3D3BA8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.170 H 277.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3D3BA8
RGBrgb(61, 59, 168)
HSLhsl(241, 48%, 45%)
HSVhsv(241, 65%, 66%)
CMYKcmyk(63.7%, 64.9%, 0%, 34.1%)
CIE-LABlab(31.68, 34.79, -58.38)
CIE-LCHlch(31.68, 67.96, 300.79°)
OKLaboklab(42.54% 0.0213 -0.1682)
OKLCHoklch(42.54% 0.17 277.2)
XYZxyz(10.5540, 6.9463, 37.8228)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3BA8 #A6A83B
analogous
#3B70A8 #3D3BA8 #743BA8
triadic
#3D3BA8 #A83D3B #3BA83D
tetradic
#3D3BA8 #A83B70 #A6A83B #3BA874
square
#3D3BA8 #A83B70 #A6A83B #3BA874
split-complementary
#3D3BA8 #A8743B #70A83B
monochromatic
#1C1B4D #2D2B7B #3D3BA8 #5D5BC5 #8A88D5

Accessibility & contrast

On white

8.79
#3D3BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3D3BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3BA8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3BA8#FFFFFF#000000##FFFFFF
##3D3BA81.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d3ba8;
/* rgb */ color: rgb(61, 59, 168);
/* oklch */ color: oklch(42.5% 0.170 277.2);
Tailwind
colors: {
  custom: {
    50: '#7f71c3',
    500: '#3d3ba8',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ba8;
$custom-light: #7f71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ba8",
  "rgb": {
    "r": 61,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 241.101,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.16956,
    "h": 277.2
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#3D3BA8
secondary
#BEC07F
accent
#D850D5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D3BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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