#3D30AB#3D30AB

#3D30AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.186 H 279.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3D30AB
RGBrgb(61, 48, 171)
HSLhsl(246, 56%, 43%)
HSVhsv(246, 72%, 67%)
CMYKcmyk(64.3%, 71.9%, 0%, 32.9%)
CIE-LABlab(29.53, 42.37, -63.71)
CIE-LCHlch(29.53, 76.52, 303.63°)
OKLaboklab(41.07% 0.0294 -0.1839)
OKLCHoklch(41.07% 0.186 279.1)
XYZxyz(10.3298, 6.0455, 39.1427)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30AB #9EAB30
analogous
#3061AB #3D30AB #7A30AB
triadic
#3D30AB #AB3D30 #30AB3D
tetradic
#3D30AB #AB3061 #9EAB30 #30AB7A
square
#3D30AB #AB3061 #9EAB30 #30AB7A
split-complementary
#3D30AB #AB7A30 #61AB30
monochromatic
#1B154B #2C237B #3D30AB #594CCD #857BDA

Accessibility & contrast

On white

9.51
#3D30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3D30AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30AB
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30AB#FFFFFF#000000##FFFFFF
##3D30AB1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d30ab;
/* rgb */ color: rgb(61, 48, 171);
/* oklch */ color: oklch(41.1% 0.186 279.1);
Tailwind
colors: {
  custom: {
    50: '#816ac5',
    500: '#3d30ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d30ab;
$custom-light: #816ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30ab",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 246.341,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41071,
    "c": 0.18619,
    "h": 279.1
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#3D30AB
secondary
#BAC374
accent
#DF48CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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