#3A41CA#3A41CA

#3A41CA is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.5% C 0.207 H 272.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3A41CA
RGBrgb(58, 65, 202)
HSLhsl(237, 58%, 51%)
HSVhsv(237, 71%, 79%)
CMYKcmyk(71.3%, 67.8%, 0%, 20.8%)
CIE-LABlab(35.87, 42.29, -71.60)
CIE-LCHlch(35.87, 83.15, 300.57°)
OKLaboklab(46.46% 0.01 -0.207)
OKLCHoklch(46.46% 0.207 272.8)
XYZxyz(14.2923, 8.9430, 56.8386)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41CA #CAC33A
analogous
#3A89CA #3A41CA #7B3ACA
triadic
#3A41CA #CA3A41 #41CA3A
tetradic
#3A41CA #CA3A89 #CAC33A #3ACA7B
square
#3A41CA #CA3A89 #CAC33A #3ACA7B
split-complementary
#3A41CA #CA7B3A #89CA3A
monochromatic
#1D216C #2A309D #3A41CA #6A70D7 #9A9EE4

Accessibility & contrast

On white

7.53
#3A41CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A41CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41CA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41CA#FFFFFF#000000##FFFFFF
##3A41CA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a41ca;
/* rgb */ color: rgb(58, 65, 202);
/* oklch */ color: oklch(46.5% 0.207 272.8);
Tailwind
colors: {
  custom: {
    50: '#8476db',
    500: '#3a41ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a41ca;
$custom-light: #8476db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41ca",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 237.083,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.20724,
    "h": 272.8
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#3A41CA
secondary
#D0CD90
accent
#D947E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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