#3A41C6#3A41C6

#3A41C6 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.1% C 0.202 H 273.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3A41C6
RGBrgb(58, 65, 198)
HSLhsl(237, 55%, 50%)
HSVhsv(237, 71%, 78%)
CMYKcmyk(70.7%, 67.2%, 0%, 22.4%)
CIE-LABlab(35.51, 40.93, -69.87)
CIE-LCHlch(35.51, 80.97, 300.36°)
OKLaboklab(46.09% 0.0104 -0.2019)
OKLCHoklch(46.09% 0.202 273)
XYZxyz(13.8248, 8.7560, 54.3766)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41C6 #C6BF3A
analogous
#3A87C6 #3A41C6 #793AC6
triadic
#3A41C6 #C63A41 #41C63A
tetradic
#3A41C6 #C63A87 #C6BF3A #3AC679
square
#3A41C6 #C63A87 #C6BF3A #3AC679
split-complementary
#3A41C6 #C6793A #87C63A
monochromatic
#1E2268 #2C3197 #3A41C6 #696FD4 #999DE1

Accessibility & contrast

On white

7.63
#3A41C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3A41C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41C6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41C6#FFFFFF#000000##FFFFFF
##3A41C61.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a41c6;
/* rgb */ color: rgb(58, 65, 198);
/* oklch */ color: oklch(46.1% 0.202 273.0);
Tailwind
colors: {
  custom: {
    50: '#8376d8',
    500: '#3a41c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a41c6;
$custom-light: #8376d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41c6",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 237,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.2022,
    "h": 273
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#3A41C6
secondary
#CDCA8F
accent
#D749DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A41C6

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

Preview Lab → · Contrast checker → · Palette generator →

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