#3D30A3#3D30A3

#3D30A3 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.176 H 280.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3D30A3
RGBrgb(61, 48, 163)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 64%)
CMYKcmyk(62.6%, 70.6%, 0%, 36.1%)
CIE-LABlab(28.77, 39.79, -60.13)
CIE-LCHlch(28.77, 72.11, 303.49°)
OKLaboklab(40.3% 0.0308 -0.1734)
OKLCHoklch(40.3% 0.176 280.1)
XYZxyz(9.5902, 5.7496, 35.2476)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30A3 #96A330
analogous
#305DA3 #3D30A3 #7730A3
triadic
#3D30A3 #A33D30 #30A33D
tetradic
#3D30A3 #A3305D #96A330 #30A377
square
#3D30A3 #A3305D #96A330 #30A377
split-complementary
#3D30A3 #A37730 #5DA330
monochromatic
#1A1444 #2B2274 #3D30A3 #5647C9 #8177D7

Accessibility & contrast

On white

9.77
#3D30A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D30A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30A3
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30A3#FFFFFF#000000##FFFFFF
##3D30A31.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d30a3;
/* rgb */ color: rgb(61, 48, 163);
/* oklch */ color: oklch(40.3% 0.176 280.1);
Tailwind
colors: {
  custom: {
    50: '#7f6abf',
    500: '#3d30a3',
    950: '#000000',
  },
}
SCSS
$custom: #3d30a3;
$custom-light: #7f6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30a3",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 246.783,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40302,
    "c": 0.1761,
    "h": 280.1
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#3D30A3
secondary
#B6BF70
accent
#DE4ACD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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