#3A41BC#3A41BC

#3A41BC is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.189 H 273.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3A41BC
RGBrgb(58, 65, 188)
HSLhsl(237, 53%, 48%)
HSVhsv(237, 69%, 74%)
CMYKcmyk(69.1%, 65.4%, 0%, 26.3%)
CIE-LABlab(34.62, 37.49, -65.47)
CIE-LCHlch(34.62, 75.44, 299.80°)
OKLaboklab(45.17% 0.0114 -0.1891)
OKLCHoklch(45.17% 0.189 273.4)
XYZxyz(12.7093, 8.3098, 48.5014)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41BC #BCB53A
analogous
#3A82BC #3A41BC #743ABC
triadic
#3A41BC #BC3A41 #41BC3A
tetradic
#3A41BC #BC3A82 #BCB53A #3ABC74
square
#3A41BC #BC3A82 #BCB53A #3ABC74
split-complementary
#3A41BC #BC743A #82BC3A
monochromatic
#1D215E #2C318D #3A41BC #646ACF #9397DE

Accessibility & contrast

On white

7.89
#3A41BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3A41BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41BC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41BC#FFFFFF#000000##FFFFFF
##3A41BC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a41bc;
/* rgb */ color: rgb(58, 65, 188);
/* oklch */ color: oklch(45.2% 0.189 273.4);
Tailwind
colors: {
  custom: {
    50: '#8176d1',
    500: '#3a41bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a41bc;
$custom-light: #8176d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41bc",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 236.769,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.1894,
    "h": 273.4
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#3A41BC
secondary
#C9C589
accent
#D44CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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