#3A41BB#3A41BB

#3A41BB is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.188 H 273.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3A41BB
RGBrgb(58, 65, 187)
HSLhsl(237, 53%, 48%)
HSVhsv(237, 69%, 73%)
CMYKcmyk(69%, 65.2%, 0%, 26.7%)
CIE-LABlab(34.53, 37.15, -65.02)
CIE-LCHlch(34.53, 74.88, 299.74°)
OKLaboklab(45.08% 0.0114 -0.1877)
OKLCHoklch(45.08% 0.188 273.5)
XYZxyz(12.6019, 8.2668, 47.9356)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41BB #BBB43A
analogous
#3A81BB #3A41BB #733ABB
triadic
#3A41BB #BB3A41 #41BB3A
tetradic
#3A41BB #BB3A81 #BBB43A #3ABB73
square
#3A41BB #BB3A81 #BBB43A #3ABB73
split-complementary
#3A41BB #BB733A #81BB3A
monochromatic
#1D215E #2C318C #3A41BB #6369CF #9296DD

Accessibility & contrast

On white

7.91
#3A41BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A41BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41BB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41BB#FFFFFF#000000##FFFFFF
##3A41BB1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a41bb;
/* rgb */ color: rgb(58, 65, 187);
/* oklch */ color: oklch(45.1% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#8176d0',
    500: '#3a41bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a41bb;
$custom-light: #8176d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41bb",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 236.744,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.1881,
    "h": 273.5
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#3A41BB
secondary
#C8C588
accent
#D44CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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