#3D30AA#3D30AA

#3D30AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.185 H 279.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3D30AA
RGBrgb(61, 48, 170)
HSLhsl(246, 56%, 43%)
HSVhsv(246, 72%, 67%)
CMYKcmyk(64.1%, 71.8%, 0%, 33.3%)
CIE-LABlab(29.43, 42.05, -63.27)
CIE-LCHlch(29.43, 75.97, 303.61°)
OKLaboklab(40.97% 0.0296 -0.1826)
OKLCHoklch(40.97% 0.185 279.2)
XYZxyz(10.2348, 6.0075, 38.6426)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D30AA #9DAA30
analogous
#3060AA #3D30AA #7A30AA
triadic
#3D30AA #AA3D30 #30AA3D
tetradic
#3D30AA #AA3060 #9DAA30 #30AA7A
square
#3D30AA #AA3060 #9DAA30 #30AA7A
split-complementary
#3D30AA #AA7A30 #60AA30
monochromatic
#1B154B #2C237A #3D30AA #594BCC #857BDA

Accessibility & contrast

On white

9.54
#3D30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3D30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D30AA
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D30AA#FFFFFF#000000##FFFFFF
##3D30AA1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d30aa;
/* rgb */ color: rgb(61, 48, 170);
/* oklch */ color: oklch(41.0% 0.185 279.2);
Tailwind
colors: {
  custom: {
    50: '#806ac4',
    500: '#3d30aa',
    950: '#000000',
  },
}
SCSS
$custom: #3d30aa;
$custom-light: #806ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d30aa",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 246.393,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.18494,
    "h": 279.2
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#3D30AA
secondary
#BAC274
accent
#DF49CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3D30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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