#3A41C1#3A41C1

#3A41C1 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.196 H 273.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3A41C1
RGBrgb(58, 65, 193)
HSLhsl(237, 54%, 49%)
HSVhsv(237, 70%, 76%)
CMYKcmyk(69.9%, 66.3%, 0%, 24.3%)
CIE-LABlab(35.06, 39.21, -67.68)
CIE-LCHlch(35.06, 78.22, 300.09°)
OKLaboklab(45.62% 0.0109 -0.1955)
OKLCHoklch(45.62% 0.196 273.2)
XYZxyz(13.2576, 8.5291, 51.3893)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41C1 #C1BA3A
analogous
#3A85C1 #3A41C1 #773AC1
triadic
#3A41C1 #C13A41 #41C13A
tetradic
#3A41C1 #C13A85 #C1BA3A #3AC177
square
#3A41C1 #C13A85 #C1BA3A #3AC177
split-complementary
#3A41C1 #C1773A #85C13A
monochromatic
#1E2163 #2C3192 #3A41C1 #676CD1 #969ADF

Accessibility & contrast

On white

7.76
#3A41C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A41C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41C1
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41C1#FFFFFF#000000##FFFFFF
##3A41C11.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a41c1;
/* rgb */ color: rgb(58, 65, 193);
/* oklch */ color: oklch(45.6% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#8276d5',
    500: '#3a41c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a41c1;
$custom-light: #8276d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41c1",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 236.889,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45624,
    "c": 0.19584,
    "h": 273.2
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#3A41C1
secondary
#CBC88C
accent
#D64BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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