#3A41BD#3A41BD

#3A41BD is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.191 H 273.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3A41BD
RGBrgb(58, 65, 189)
HSLhsl(237, 53%, 48%)
HSVhsv(237, 69%, 74%)
CMYKcmyk(69.3%, 65.6%, 0%, 25.9%)
CIE-LABlab(34.71, 37.84, -65.91)
CIE-LCHlch(34.71, 76.00, 299.86°)
OKLaboklab(45.26% 0.0113 -0.1904)
OKLCHoklch(45.26% 0.191 273.4)
XYZxyz(12.8175, 8.3530, 49.0711)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41BD #BDB63A
analogous
#3A82BD #3A41BD #743ABD
triadic
#3A41BD #BD3A41 #41BD3A
tetradic
#3A41BD #BD3A82 #BDB63A #3ABD74
square
#3A41BD #BD3A82 #BDB63A #3ABD74
split-complementary
#3A41BD #BD743A #82BD3A
monochromatic
#1D215F #2C318E #3A41BD #656AD0 #9397DE

Accessibility & contrast

On white

7.86
#3A41BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3A41BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41BD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41BD#FFFFFF#000000##FFFFFF
##3A41BD1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a41bd;
/* rgb */ color: rgb(58, 65, 189);
/* oklch */ color: oklch(45.3% 0.191 273.4);
Tailwind
colors: {
  custom: {
    50: '#8176d2',
    500: '#3a41bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a41bd;
$custom-light: #8176d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41bd",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 236.794,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.19069,
    "h": 273.4
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#3A41BD
secondary
#C9C68A
accent
#D54BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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