#3A41C7#3A41C7

#3A41C7 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.2% C 0.203 H 272.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3A41C7
RGBrgb(58, 65, 199)
HSLhsl(237, 56%, 50%)
HSVhsv(237, 71%, 78%)
CMYKcmyk(70.9%, 67.3%, 0%, 22%)
CIE-LABlab(35.60, 41.27, -70.30)
CIE-LCHlch(35.60, 81.52, 300.41°)
OKLaboklab(46.18% 0.0103 -0.2032)
OKLCHoklch(46.18% 0.203 272.9)
XYZxyz(13.9406, 8.8023, 54.9861)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41C7 #C7C03A
analogous
#3A88C7 #3A41C7 #793AC7
triadic
#3A41C7 #C73A41 #41C73A
tetradic
#3A41C7 #C73A88 #C7C03A #3AC779
square
#3A41C7 #C73A88 #C7C03A #3AC779
split-complementary
#3A41C7 #C7793A #88C73A
monochromatic
#1E2269 #2B3198 #3A41C7 #6A6FD5 #999DE2

Accessibility & contrast

On white

7.61
#3A41C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A41C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41C7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41C7#FFFFFF#000000##FFFFFF
##3A41C71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a41c7;
/* rgb */ color: rgb(58, 65, 199);
/* oklch */ color: oklch(46.2% 0.203 272.9);
Tailwind
colors: {
  custom: {
    50: '#8476d9',
    500: '#3a41c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a41c7;
$custom-light: #8476d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41c7",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 237.021,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.20346,
    "h": 272.9
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#3A41C7
secondary
#CECB8F
accent
#D849DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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