#3D41AC#3D41AC

#3D41AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.167 H 275.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3D41AC
RGBrgb(61, 65, 172)
HSLhsl(238, 48%, 46%)
HSVhsv(238, 65%, 67%)
CMYKcmyk(64.5%, 62.2%, 0%, 32.5%)
CIE-LABlab(33.46, 32.38, -57.88)
CIE-LCHlch(33.46, 66.32, 299.22°)
OKLaboklab(43.95% 0.0159 -0.1667)
OKLCHoklch(43.95% 0.167 275.4)
XYZxyz(11.2587, 7.7503, 39.9244)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41AC #ACA83D
analogous
#3D78AC #3D41AC #703DAC
triadic
#3D41AC #AC3D41 #41AC3D
tetradic
#3D41AC #AC3D78 #ACA83D #3DAC70
square
#3D41AC #AC3D78 #ACA83D #3DAC70
split-complementary
#3D41AC #AC703D #78AC3D
monochromatic
#1D1F52 #2D307F #3D41AC #6063C7 #8D90D7

Accessibility & contrast

On white

8.23
#3D41AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3D41AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41AC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41AC#FFFFFF#000000##FFFFFF
##3D41AC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d41ac;
/* rgb */ color: rgb(61, 65, 172);
/* oklch */ color: oklch(43.9% 0.167 275.4);
Tailwind
colors: {
  custom: {
    50: '#7f76c6',
    500: '#3d41ac',
    950: '#000000',
  },
}
SCSS
$custom: #3d41ac;
$custom-light: #7f76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41ac",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 237.838,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.16748,
    "h": 275.4
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#3D41AC
secondary
#C1BF84
accent
#D251D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3D41AC

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

Preview Lab → · Contrast checker → · Palette generator →

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