#3D30A5#3D30A5

#3D30A5 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.179 H 279.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3D30A5
RGBrgb(61, 48, 165)
HSLhsl(247, 55%, 42%)
HSVhsv(247, 71%, 65%)
CMYKcmyk(63%, 70.9%, 0%, 35.3%)
CIE-LABlab(28.96, 40.44, -61.04)
CIE-LCHlch(28.96, 73.22, 303.53°)
OKLaboklab(40.49% 0.0305 -0.176)
OKLCHoklch(40.49% 0.179 279.8)
XYZxyz(9.7708, 5.8219, 36.1989)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30A5 #98A530
analogous
#305DA5 #3D30A5 #7830A5
triadic
#3D30A5 #A53D30 #30A53D
tetradic
#3D30A5 #A5305D #98A530 #30A578
square
#3D30A5 #A5305D #98A530 #30A578
split-complementary
#3D30A5 #A57830 #5DA530
monochromatic
#1A1446 #2B2276 #3D30A5 #5748CA #8278D8

Accessibility & contrast

On white

9.70
#3D30A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3D30A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30A5
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30A5#FFFFFF#000000##FFFFFF
##3D30A51.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d30a5;
/* rgb */ color: rgb(61, 48, 165);
/* oklch */ color: oklch(40.5% 0.179 279.8);
Tailwind
colors: {
  custom: {
    50: '#7f6ac1',
    500: '#3d30a5',
    950: '#000000',
  },
}
SCSS
$custom: #3d30a5;
$custom-light: #7f6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30a5",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 246.667,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.17864,
    "h": 279.8
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#3D30A5
secondary
#B7C071
accent
#DE4ACE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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