#3D30B4#3D30B4

#3D30B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.0% C 0.197 H 278.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3D30B4
RGBrgb(61, 48, 180)
HSLhsl(246, 58%, 45%)
HSVhsv(246, 73%, 71%)
CMYKcmyk(66.1%, 73.3%, 0%, 29.4%)
CIE-LABlab(30.40, 45.25, -67.65)
CIE-LCHlch(30.40, 81.39, 303.78°)
OKLaboklab(41.96% 0.0276 -0.1954)
OKLCHoklch(41.96% 0.197 278)
XYZxyz(11.2170, 6.4004, 43.8154)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30B4 #A7B430
analogous
#3065B4 #3D30B4 #7F30B4
triadic
#3D30B4 #B43D30 #30B43D
tetradic
#3D30B4 #B43065 #A7B430 #30B47F
square
#3D30B4 #B43065 #A7B430 #30B47F
split-complementary
#3D30B4 #B47F30 #65B430
monochromatic
#1C1653 #2D2384 #3D30B4 #5D51D1 #8A81DD

Accessibility & contrast

On white

9.21
#3D30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3D30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30B4
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30B4#FFFFFF#000000##FFFFFF
##3D30B41.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d30b4;
/* rgb */ color: rgb(61, 48, 180);
/* oklch */ color: oklch(42.0% 0.197 278.0);
Tailwind
colors: {
  custom: {
    50: '#826acc',
    500: '#3d30b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d30b4;
$custom-light: #826acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30b4",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 245.909,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.19731,
    "h": 278
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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