#3D3A98#3D3A98

#3D3A98 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.149 H 279.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3D3A98
RGBrgb(61, 58, 152)
HSLhsl(242, 45%, 41%)
HSVhsv(242, 62%, 60%)
CMYKcmyk(59.9%, 61.8%, 0%, 40.4%)
CIE-LABlab(30.12, 29.97, -51.25)
CIE-LCHlch(30.12, 59.37, 300.32°)
OKLaboklab(40.99% 0.0232 -0.1473)
OKLCHoklch(40.99% 0.149 279)
XYZxyz(9.1032, 6.2846, 30.4330)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3A98 #95983A
analogous
#3A6698 #3D3A98 #6C3A98
triadic
#3D3A98 #983D3A #3A983D
tetradic
#3D3A98 #983A66 #95983A #3A986C
square
#3D3A98 #983A66 #95983A #3A986C
split-complementary
#3D3A98 #986C3A #66983A
monochromatic
#19183F #2B296C #3D3A98 #5652BD #817ECE

Accessibility & contrast

On white

9.30
#3D3A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3D3A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3A98
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3A98#FFFFFF#000000##FFFFFF
##3D3A981.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d3a98;
/* rgb */ color: rgb(61, 58, 152);
/* oklch */ color: oklch(41.0% 0.149 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c70b7',
    500: '#3d3a98',
    950: '#000000',
  },
}
SCSS
$custom: #3d3a98;
$custom-light: #7c70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3a98",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 241.915,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40985,
    "c": 0.14911,
    "h": 279
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#3D3A98
secondary
#B5B876
accent
#D453D0
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3D3A98

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

Preview Lab → · Contrast checker → · Palette generator →

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