#3D3098#3D3098

#3D3098 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.162 H 281.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3D3098
RGBrgb(61, 48, 152)
HSLhsl(248, 52%, 39%)
HSVhsv(248, 68%, 60%)
CMYKcmyk(59.9%, 68.4%, 0%, 40.4%)
CIE-LABlab(27.77, 36.21, -55.08)
CIE-LCHlch(27.77, 65.92, 303.32°)
OKLaboklab(39.28% 0.0326 -0.1586)
OKLCHoklch(39.28% 0.162 281.6)
XYZxyz(8.6471, 5.3724, 30.2810)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3098 #8B9830
analogous
#305798 #3D3098 #713098
triadic
#3D3098 #983D30 #30983D
tetradic
#3D3098 #983057 #8B9830 #309871
square
#3D3098 #983057 #8B9830 #309871
split-complementary
#3D3098 #987130 #579830
monochromatic
#18133B #2A2169 #3D3098 #5242C3 #7D70D2

Accessibility & contrast

On white

10.12
#3D3098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3D3098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3098
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3098#FFFFFF#000000##FFFFFF
##3D30981.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#014B60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d3098;
/* rgb */ color: rgb(61, 48, 152);
/* oklch */ color: oklch(39.3% 0.162 281.6);
Tailwind
colors: {
  custom: {
    50: '#7d69b7',
    500: '#3d3098',
    950: '#000000',
  },
}
SCSS
$custom: #3d3098;
$custom-light: #7d69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3098",
  "rgb": {
    "r": 61,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 247.5,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.16189,
    "h": 281.6
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#3D3098
secondary
#B0BA6A
accent
#DB4CCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D3098

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

Preview Lab → · Contrast checker → · Palette generator →

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