#3D41A4#3D41A4

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

Color values

HEX#3D41A4
RGBrgb(61, 65, 164)
HSLhsl(238, 46%, 44%)
HSVhsv(238, 63%, 64%)
CMYKcmyk(62.8%, 60.4%, 0%, 35.7%)
CIE-LABlab(32.81, 29.61, -54.13)
CIE-LCHlch(32.81, 61.70, 298.68°)
OKLaboklab(43.27% 0.0162 -0.1557)
OKLCHoklch(43.27% 0.157 275.9)
XYZxyz(10.5134, 7.4522, 35.9991)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41A4 #A4A03D
analogous
#3D75A4 #3D41A4 #6D3DA4
triadic
#3D41A4 #A43D41 #41A43D
tetradic
#3D41A4 #A43D75 #A4A03D #3DA46D
square
#3D41A4 #A43D75 #A4A03D #3DA46D
split-complementary
#3D41A4 #A46D3D #75A43D
monochromatic
#1C1E4B #2C2F77 #3D41A4 #5C60C2 #888BD3

Accessibility & contrast

On white

8.43
#3D41A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3D41A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41A4
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41A4#FFFFFF#000000##FFFFFF
##3D41A41.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d41a4;
/* rgb */ color: rgb(61, 65, 164);
/* oklch */ color: oklch(43.3% 0.157 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e75c0',
    500: '#3d41a4',
    950: '#000000',
  },
}
SCSS
$custom: #3d41a4;
$custom-light: #7e75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41a4",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 237.67,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.15655,
    "h": 275.9
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#3D41A4
secondary
#BDBB7F
accent
#D052D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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