#3D308D#3D308D

#3D308D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.147 H 283.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3D308D
RGBrgb(61, 48, 141)
HSLhsl(248, 49%, 37%)
HSVhsv(248, 66%, 55%)
CMYKcmyk(56.7%, 66%, 0%, 44.7%)
CIE-LABlab(26.82, 32.61, -49.87)
CIE-LCHlch(26.82, 59.59, 303.19°)
OKLaboklab(38.29% 0.0339 -0.1433)
OKLCHoklch(38.29% 0.147 283.3)
XYZxyz(7.7877, 5.0286, 25.7544)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D308D #808D30
analogous
#30528D #3D308D #6C308D
triadic
#3D308D #8D3D30 #308D3D
tetradic
#3D308D #8D3052 #808D30 #308D6C
square
#3D308D #8D3052 #808D30 #308D6C
split-complementary
#3D308D #8D6C30 #528D30
monochromatic
#151132 #29205F #3D308D #5140BB #786BCD

Accessibility & contrast

On white

10.47
#3D308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D308D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D308D#FFFFFF#000000##FFFFFF
##3D308D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#17475A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d308d;
/* rgb */ color: rgb(61, 48, 141);
/* oklch */ color: oklch(38.3% 0.147 283.3);
Tailwind
colors: {
  custom: {
    50: '#7b69af',
    500: '#3d308d',
    950: '#000000',
  },
}
SCSS
$custom: #3d308d;
$custom-light: #7b69af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d308d",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 248.387,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38288,
    "c": 0.14723,
    "h": 283.3
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#3D308D
secondary
#A9B465
accent
#D94FC6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D308D

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

Preview Lab → · Contrast checker → · Palette generator →

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