#3A41B4#3A41B4

#3A41B4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.179 H 273.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3A41B4
RGBrgb(58, 65, 180)
HSLhsl(237, 51%, 47%)
HSVhsv(237, 68%, 71%)
CMYKcmyk(67.8%, 63.9%, 0%, 29.4%)
CIE-LABlab(33.93, 34.72, -61.87)
CIE-LCHlch(33.93, 70.95, 299.30°)
OKLaboklab(44.45% 0.0119 -0.1785)
OKLCHoklch(44.45% 0.179 273.8)
XYZxyz(11.8707, 7.9743, 44.0848)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41B4 #B4AD3A
analogous
#3A7EB4 #3A41B4 #703AB4
triadic
#3A41B4 #B43A41 #41B43A
tetradic
#3A41B4 #B43A7E #B4AD3A #3AB470
square
#3A41B4 #B43A7E #B4AD3A #3AB470
split-complementary
#3A41B4 #B4703A #7EB43A
monochromatic
#1C2057 #2B3086 #3A41B4 #6066CC #8E92DB

Accessibility & contrast

On white

8.09
#3A41B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A41B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41B4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41B4#FFFFFF#000000##FFFFFF
##3A41B41.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a41b4;
/* rgb */ color: rgb(58, 65, 180);
/* oklch */ color: oklch(44.4% 0.179 273.8);
Tailwind
colors: {
  custom: {
    50: '#8076cb',
    500: '#3a41b4',
    950: '#000000',
  },
}
SCSS
$custom: #3a41b4;
$custom-light: #8076cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41b4",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 236.557,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.17892,
    "h": 273.8
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#3A41B4
secondary
#C5C285
accent
#D34DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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