#3D308A#3D308A

#3D308A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.143 H 283.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3D308A
RGBrgb(61, 48, 138)
HSLhsl(249, 48%, 36%)
HSVhsv(249, 65%, 54%)
CMYKcmyk(55.8%, 65.2%, 0%, 45.9%)
CIE-LABlab(26.56, 31.63, -48.42)
CIE-LCHlch(26.56, 57.83, 303.16°)
OKLaboklab(38.03% 0.0342 -0.139)
OKLCHoklch(38.03% 0.143 283.8)
XYZxyz(7.5675, 4.9405, 24.5947)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D308A #7D8A30
analogous
#30508A #3D308A #6A308A
triadic
#3D308A #8A3D30 #308A3D
tetradic
#3D308A #8A3050 #7D8A30 #308A6A
square
#3D308A #8A3050 #7D8A30 #308A6A
split-complementary
#3D308A #8A6A30 #508A30
monochromatic
#15102F #29205D #3D308A #5140B7 #7869CB

Accessibility & contrast

On white

10.56
#3D308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3D308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D308A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D308A#FFFFFF#000000##FFFFFF
##3D308A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#1B4658
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d308a;
/* rgb */ color: rgb(61, 48, 138);
/* oklch */ color: oklch(38.0% 0.143 283.8);
Tailwind
colors: {
  custom: {
    50: '#7a69ad',
    500: '#3d308a',
    950: '#000000',
  },
}
SCSS
$custom: #3d308a;
$custom-light: #7a69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d308a",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 248.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38027,
    "c": 0.14316,
    "h": 283.8
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#3D308A
secondary
#A7B264
accent
#D850C4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D308A

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

Preview Lab → · Contrast checker → · Palette generator →

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