#3A41B9#3A41B9

#3A41B9 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.185 H 273.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3A41B9
RGBrgb(58, 65, 185)
HSLhsl(237, 52%, 48%)
HSVhsv(237, 69%, 73%)
CMYKcmyk(68.6%, 64.9%, 0%, 27.5%)
CIE-LABlab(34.36, 36.45, -64.13)
CIE-LCHlch(34.36, 73.76, 299.62°)
OKLaboklab(44.9% 0.0116 -0.1851)
OKLCHoklch(44.9% 0.185 273.6)
XYZxyz(12.3893, 8.1818, 46.8159)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41B9 #B9B23A
analogous
#3A80B9 #3A41B9 #733AB9
triadic
#3A41B9 #B93A41 #41B93A
tetradic
#3A41B9 #B93A80 #B9B23A #3AB973
square
#3A41B9 #B93A80 #B9B23A #3AB973
split-complementary
#3A41B9 #B9733A #80B93A
monochromatic
#1D205C #2B318A #3A41B9 #6268CE #9195DC

Accessibility & contrast

On white

7.96
#3A41B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A41B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41B9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41B9#FFFFFF#000000##FFFFFF
##3A41B91.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a41b9;
/* rgb */ color: rgb(58, 65, 185);
/* oklch */ color: oklch(44.9% 0.185 273.6);
Tailwind
colors: {
  custom: {
    50: '#8176cf',
    500: '#3a41b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a41b9;
$custom-light: #8176cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41b9",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 236.693,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.18549,
    "h": 273.6
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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