#3A41D6#3A41D6

#3A41D6 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.222 H 272.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#3A41D6
RGBrgb(58, 65, 214)
HSLhsl(237, 66%, 53%)
HSVhsv(237, 73%, 84%)
CMYKcmyk(72.9%, 69.6%, 0%, 16.1%)
CIE-LABlab(36.99, 46.33, -76.70)
CIE-LCHlch(36.99, 89.61, 301.13°)
OKLaboklab(47.61% 0.0086 -0.2219)
OKLCHoklch(47.61% 0.222 272.2)
XYZxyz(15.7687, 9.5335, 64.6144)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41D6 #D6CF3A
analogous
#3A8FD6 #3A41D6 #813AD6
triadic
#3A41D6 #D63A41 #41D63A
tetradic
#3A41D6 #D63A8F #D6CF3A #3AD681
square
#3A41D6 #D63A8F #D6CF3A #3AD681
split-complementary
#3A41D6 #D6813A #8FD63A
monochromatic
#1A1E7C #242BAE #3A41D6 #6D72E1 #9FA3EB

Accessibility & contrast

On white

7.22
#3A41D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A41D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41D6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41D6#FFFFFF#000000##FFFFFF
##3A41D61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDA
Deuteranopia (green-blind)
#0050D3
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a41d6;
/* rgb */ color: rgb(58, 65, 214);
/* oklch */ color: oklch(47.6% 0.222 272.2);
Tailwind
colors: {
  custom: {
    50: '#8776e4',
    500: '#3a41d6',
    950: '#000000',
  },
}
SCSS
$custom: #3a41d6;
$custom-light: #8776e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41d6",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 237.308,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.22208,
    "h": 272.2
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#3A41D6
secondary
#D7D494
accent
#E13FE8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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