#3D308F#3D308F

#3D308F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.150 H 283.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3D308F
RGBrgb(61, 48, 143)
HSLhsl(248, 50%, 37%)
HSVhsv(248, 66%, 56%)
CMYKcmyk(57.3%, 66.4%, 0%, 43.9%)
CIE-LABlab(26.99, 33.27, -50.83)
CIE-LCHlch(26.99, 60.75, 303.21°)
OKLaboklab(38.46% 0.0337 -0.1461)
OKLCHoklch(38.46% 0.15 283)
XYZxyz(7.9378, 5.0887, 26.5452)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D308F #828F30
analogous
#30528F #3D308F #6D308F
triadic
#3D308F #8F3D30 #308F3D
tetradic
#3D308F #8F3052 #828F30 #308F6D
square
#3D308F #8F3052 #828F30 #308F6D
split-complementary
#3D308F #8F6D30 #528F30
monochromatic
#161133 #292161 #3D308F #513FBD #796CCE

Accessibility & contrast

On white

10.41
#3D308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D308F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D308F#FFFFFF#000000##FFFFFF
##3D308F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#14485B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d308f;
/* rgb */ color: rgb(61, 48, 143);
/* oklch */ color: oklch(38.5% 0.150 283.0);
Tailwind
colors: {
  custom: {
    50: '#7b69b1',
    500: '#3d308f',
    950: '#000000',
  },
}
SCSS
$custom: #3d308f;
$custom-light: #7b69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d308f",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 248.211,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.14993,
    "h": 283
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#3D308F
secondary
#AAB566
accent
#D94FC6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D308F

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

Preview Lab → · Contrast checker → · Palette generator →

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