#3D41A2#3D41A2

#3D41A2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.154 H 276.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3D41A2
RGBrgb(61, 65, 162)
HSLhsl(238, 45%, 44%)
HSVhsv(238, 62%, 64%)
CMYKcmyk(62.3%, 59.9%, 0%, 36.5%)
CIE-LABlab(32.66, 28.91, -53.18)
CIE-LCHlch(32.66, 60.53, 298.53°)
OKLaboklab(43.11% 0.0162 -0.1529)
OKLCHoklch(43.11% 0.154 276)
XYZxyz(10.3342, 7.3805, 35.0554)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41A2 #A29E3D
analogous
#3D73A2 #3D41A2 #6B3DA2
triadic
#3D41A2 #A23D41 #41A23D
tetradic
#3D41A2 #A23D73 #A29E3D #3DA26B
square
#3D41A2 #A23D73 #A29E3D #3DA26B
split-complementary
#3D41A2 #A26B3D #73A23D
monochromatic
#1C1D49 #2C2F76 #3D41A2 #5B5FC1 #878AD2

Accessibility & contrast

On white

8.48
#3D41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3D41A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41A2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41A2#FFFFFF#000000##FFFFFF
##3D41A21.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d41a2;
/* rgb */ color: rgb(61, 65, 162);
/* oklch */ color: oklch(43.1% 0.154 276.0);
Tailwind
colors: {
  custom: {
    50: '#7d75be',
    500: '#3d41a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d41a2;
$custom-light: #7d75be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41a2",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 237.624,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43106,
    "c": 0.15377,
    "h": 276
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#3D41A2
secondary
#BCBA7E
accent
#D053D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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