#3D307F#3D307F

#3D307F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.128 H 285.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3D307F
RGBrgb(61, 48, 127)
HSLhsl(250, 45%, 34%)
HSVhsv(250, 62%, 50%)
CMYKcmyk(52%, 62.2%, 0%, 50.2%)
CIE-LABlab(25.68, 28.04, -42.98)
CIE-LCHlch(25.68, 51.31, 303.12°)
OKLaboklab(37.1% 0.035 -0.123)
OKLCHoklch(37.1% 0.128 285.9)
XYZxyz(6.8111, 4.6380, 20.6109)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D307F #727F30
analogous
#304B7F #3D307F #65307F
triadic
#3D307F #7F3D30 #307F3D
tetradic
#3D307F #7F304B #727F30 #307F65
square
#3D307F #7F304B #727F30 #307F65
split-complementary
#3D307F #7F6530 #4B7F30
monochromatic
#120E26 #281F53 #3D307F #5241AB #7565C5

Accessibility & contrast

On white

10.89
#3D307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D307F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D307F#FFFFFF#000000##FFFFFF
##3D307F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#254252
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d307f;
/* rgb */ color: rgb(61, 48, 127);
/* oklch */ color: oklch(37.1% 0.128 285.9);
Tailwind
colors: {
  custom: {
    50: '#7869a5',
    500: '#3d307f',
    950: '#000000',
  },
}
SCSS
$custom: #3d307f;
$custom-light: #7869a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d307f",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 249.873,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.371,
    "c": 0.1279,
    "h": 285.9
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#3D307F
secondary
#9FAC5F
accent
#D553BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D307F

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

Preview Lab → · Contrast checker → · Palette generator →

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