#3D41A5#3D41A5

#3D41A5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.158 H 275.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3D41A5
RGBrgb(61, 65, 165)
HSLhsl(238, 46%, 44%)
HSVhsv(238, 63%, 65%)
CMYKcmyk(63%, 60.6%, 0%, 35.3%)
CIE-LABlab(32.89, 29.95, -54.60)
CIE-LCHlch(32.89, 62.28, 298.75°)
OKLaboklab(43.36% 0.0161 -0.1571)
OKLCHoklch(43.36% 0.158 275.9)
XYZxyz(10.6041, 7.4885, 36.4766)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41A5 #A5A13D
analogous
#3D75A5 #3D41A5 #6D3DA5
triadic
#3D41A5 #A53D41 #41A53D
tetradic
#3D41A5 #A53D75 #A5A13D #3DA56D
square
#3D41A5 #A53D75 #A5A13D #3DA56D
split-complementary
#3D41A5 #A56D3D #75A53D
monochromatic
#1C1E4C #2C2F78 #3D41A5 #5C60C3 #898CD3

Accessibility & contrast

On white

8.41
#3D41A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3D41A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41A5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41A5#FFFFFF#000000##FFFFFF
##3D41A51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d41a5;
/* rgb */ color: rgb(61, 65, 165);
/* oklch */ color: oklch(43.4% 0.158 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e75c0',
    500: '#3d41a5',
    950: '#000000',
  },
}
SCSS
$custom: #3d41a5;
$custom-light: #7e75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41a5",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 237.692,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.15793,
    "h": 275.9
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#3D41A5
secondary
#BEBB80
accent
#D152D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D41A5

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

Preview Lab → · Contrast checker → · Palette generator →

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