#3D30B1#3D30B1

#3D30B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.194 H 278.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3D30B1
RGBrgb(61, 48, 177)
HSLhsl(246, 57%, 44%)
HSVhsv(246, 73%, 69%)
CMYKcmyk(65.5%, 72.9%, 0%, 30.6%)
CIE-LABlab(30.11, 44.29, -66.35)
CIE-LCHlch(30.11, 79.78, 303.73°)
OKLaboklab(41.66% 0.0282 -0.1916)
OKLCHoklch(41.66% 0.194 278.4)
XYZxyz(10.9147, 6.2794, 42.2233)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B1 #A4B130
analogous
#3063B1 #3D30B1 #7E30B1
triadic
#3D30B1 #B13D30 #30B13D
tetradic
#3D30B1 #B13063 #A4B130 #30B17E
square
#3D30B1 #B13063 #A4B130 #30B17E
split-complementary
#3D30B1 #B17E30 #63B130
monochromatic
#1C1651 #2C2381 #3D30B1 #5C4FCF #887FDC

Accessibility & contrast

On white

9.31
#3D30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3D30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30B1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B1#FFFFFF#000000##FFFFFF
##3D30B11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d30b1;
/* rgb */ color: rgb(61, 48, 177);
/* oklch */ color: oklch(41.7% 0.194 278.4);
Tailwind
colors: {
  custom: {
    50: '#826ac9',
    500: '#3d30b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b1;
$custom-light: #826ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b1",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 246.047,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.19363,
    "h": 278.4
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#3D30B1
secondary
#BDC578
accent
#E147D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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