#3D41A9#3D41A9

#3D41A9 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.163 H 275.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3D41A9
RGBrgb(61, 65, 169)
HSLhsl(238, 47%, 45%)
HSVhsv(238, 64%, 66%)
CMYKcmyk(63.9%, 61.5%, 0%, 33.7%)
CIE-LABlab(33.21, 31.34, -56.48)
CIE-LCHlch(33.21, 64.59, 299.02°)
OKLaboklab(43.69% 0.016 -0.1626)
OKLCHoklch(43.69% 0.163 275.6)
XYZxyz(10.9739, 7.6364, 38.4241)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41A9 #A9A53D
analogous
#3D77A9 #3D41A9 #6F3DA9
triadic
#3D41A9 #A93D41 #41A93D
tetradic
#3D41A9 #A93D77 #A9A53D #3DA96F
square
#3D41A9 #A93D77 #A9A53D #3DA96F
split-complementary
#3D41A9 #A96F3D #77A93D
monochromatic
#1D1E4F #2D307C #3D41A9 #5E62C5 #8B8ED5

Accessibility & contrast

On white

8.31
#3D41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3D41A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41A9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41A9#FFFFFF#000000##FFFFFF
##3D41A91.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d41a9;
/* rgb */ color: rgb(61, 65, 169);
/* oklch */ color: oklch(43.7% 0.163 275.6);
Tailwind
colors: {
  custom: {
    50: '#7f75c3',
    500: '#3d41a9',
    950: '#000000',
  },
}
SCSS
$custom: #3d41a9;
$custom-light: #7f75c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41a9",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 237.778,
    "s": 46.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.16341,
    "h": 275.6
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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