#3D30B3#3D30B3

#3D30B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.196 H 278.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3D30B3
RGBrgb(61, 48, 179)
HSLhsl(246, 58%, 45%)
HSVhsv(246, 73%, 70%)
CMYKcmyk(65.9%, 73.2%, 0%, 29.8%)
CIE-LABlab(30.30, 44.93, -67.22)
CIE-LCHlch(30.30, 80.86, 303.76°)
OKLaboklab(41.86% 0.0278 -0.1941)
OKLCHoklch(41.86% 0.196 278.2)
XYZxyz(11.1155, 6.3597, 43.2809)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B3 #A6B330
analogous
#3065B3 #3D30B3 #7F30B3
triadic
#3D30B3 #B33D30 #30B33D
tetradic
#3D30B3 #B33065 #A6B330 #30B37F
square
#3D30B3 #B33065 #A6B330 #30B37F
split-complementary
#3D30B3 #B37F30 #65B330
monochromatic
#1C1652 #2D2383 #3D30B3 #5D50D0 #8A80DD

Accessibility & contrast

On white

9.24
#3D30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3D30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30B3
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B3#FFFFFF#000000##FFFFFF
##3D30B31.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d30b3;
/* rgb */ color: rgb(61, 48, 179);
/* oklch */ color: oklch(41.9% 0.196 278.2);
Tailwind
colors: {
  custom: {
    50: '#826acb',
    500: '#3d30b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b3;
$custom-light: #826acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b3",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 245.954,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.19608,
    "h": 278.2
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#3D30B3
secondary
#BEC679
accent
#E147D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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