#3A41C2#3A41C2

#3A41C2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.197 H 273.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3A41C2
RGBrgb(58, 65, 194)
HSLhsl(237, 54%, 49%)
HSVhsv(237, 70%, 76%)
CMYKcmyk(70.1%, 66.5%, 0%, 23.9%)
CIE-LABlab(35.15, 39.56, -68.12)
CIE-LCHlch(35.15, 78.77, 300.14°)
OKLaboklab(45.72% 0.0108 -0.1968)
OKLCHoklch(45.72% 0.197 273.1)
XYZxyz(13.3696, 8.5739, 51.9788)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41C2 #C2BB3A
analogous
#3A85C2 #3A41C2 #773AC2
triadic
#3A41C2 #C23A41 #41C23A
tetradic
#3A41C2 #C23A85 #C2BB3A #3AC277
square
#3A41C2 #C23A85 #C2BB3A #3AC277
split-complementary
#3A41C2 #C2773A #85C23A
monochromatic
#1E2164 #2C3193 #3A41C2 #676DD2 #979AE0

Accessibility & contrast

On white

7.73
#3A41C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A41C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41C2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41C2#FFFFFF#000000##FFFFFF
##3A41C21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a41c2;
/* rgb */ color: rgb(58, 65, 194);
/* oklch */ color: oklch(45.7% 0.197 273.1);
Tailwind
colors: {
  custom: {
    50: '#8376d6',
    500: '#3a41c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a41c2;
$custom-light: #8376d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41c2",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 236.912,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.19712,
    "h": 273.1
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#3A41C2
secondary
#CBC88D
accent
#D64ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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