#3A41C4#3A41C4

#3A41C4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.200 H 273.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3A41C4
RGBrgb(58, 65, 196)
HSLhsl(237, 54%, 50%)
HSVhsv(237, 70%, 77%)
CMYKcmyk(70.4%, 66.8%, 0%, 23.1%)
CIE-LABlab(35.33, 40.24, -68.99)
CIE-LCHlch(35.33, 79.87, 300.25°)
OKLaboklab(45.9% 0.0106 -0.1994)
OKLCHoklch(45.9% 0.2 273.1)
XYZxyz(13.5957, 8.6643, 53.1697)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41C4 #C4BD3A
analogous
#3A86C4 #3A41C4 #783AC4
triadic
#3A41C4 #C43A41 #41C43A
tetradic
#3A41C4 #C43A86 #C4BD3A #3AC478
square
#3A41C4 #C43A86 #C4BD3A #3AC478
split-complementary
#3A41C4 #C4783A #86C43A
monochromatic
#1E2266 #2C3195 #3A41C4 #696ED3 #989CE0

Accessibility & contrast

On white

7.68
#3A41C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A41C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41C4
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41C4#FFFFFF#000000##FFFFFF
##3A41C41.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a41c4;
/* rgb */ color: rgb(58, 65, 196);
/* oklch */ color: oklch(45.9% 0.200 273.1);
Tailwind
colors: {
  custom: {
    50: '#8376d7',
    500: '#3a41c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a41c4;
$custom-light: #8376d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41c4",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 236.957,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.19966,
    "h": 273.1
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#3A41C4
secondary
#CCC98E
accent
#D64ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A41C4

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

Preview Lab → · Contrast checker → · Palette generator →

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