#3D30AF#3D30AF

#3D30AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.191 H 278.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3D30AF
RGBrgb(61, 48, 175)
HSLhsl(246, 57%, 44%)
HSVhsv(246, 73%, 69%)
CMYKcmyk(65.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.91, 43.66, -65.48)
CIE-LCHlch(29.91, 78.70, 303.69°)
OKLaboklab(41.46% 0.0286 -0.189)
OKLCHoklch(41.46% 0.191 278.6)
XYZxyz(10.7168, 6.2003, 41.1811)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30AF #A2AF30
analogous
#3062AF #3D30AF #7C30AF
triadic
#3D30AF #AF3D30 #30AF3D
tetradic
#3D30AF #AF3062 #A2AF30 #30AF7C
square
#3D30AF #AF3062 #A2AF30 #30AF7C
split-complementary
#3D30AF #AF7C30 #62AF30
monochromatic
#1C164F #2C237F #3D30AF #5B4ECE #877EDC

Accessibility & contrast

On white

9.37
#3D30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3D30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30AF
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30AF#FFFFFF#000000##FFFFFF
##3D30AF1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d30af;
/* rgb */ color: rgb(61, 48, 175);
/* oklch */ color: oklch(41.5% 0.191 278.6);
Tailwind
colors: {
  custom: {
    50: '#816ac8',
    500: '#3d30af',
    950: '#000000',
  },
}
SCSS
$custom: #3d30af;
$custom-light: #816ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30af",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 246.142,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.19116,
    "h": 278.6
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#3D30AF
secondary
#BCC476
accent
#E048D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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