#3A41B7#3A41B7

#3A41B7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.183 H 273.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3A41B7
RGBrgb(58, 65, 183)
HSLhsl(237, 52%, 47%)
HSVhsv(237, 68%, 72%)
CMYKcmyk(68.3%, 64.5%, 0%, 28.2%)
CIE-LABlab(34.19, 35.76, -63.23)
CIE-LCHlch(34.19, 72.64, 299.49°)
OKLaboklab(44.72% 0.0117 -0.1825)
OKLCHoklch(44.72% 0.183 273.7)
XYZxyz(12.1796, 8.0979, 45.7118)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41B7 #B7B03A
analogous
#3A80B7 #3A41B7 #723AB7
triadic
#3A41B7 #B73A41 #41B73A
tetradic
#3A41B7 #B73A80 #B7B03A #3AB772
square
#3A41B7 #B73A80 #B7B03A #3AB772
split-complementary
#3A41B7 #B7723A #80B73A
monochromatic
#1D205A #2B3089 #3A41B7 #6167CD #9094DC

Accessibility & contrast

On white

8.02
#3A41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3A41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41B7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41B7#FFFFFF#000000##FFFFFF
##3A41B71.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a41b7;
/* rgb */ color: rgb(58, 65, 183);
/* oklch */ color: oklch(44.7% 0.183 273.7);
Tailwind
colors: {
  custom: {
    50: '#8076ce',
    500: '#3a41b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a41b7;
$custom-light: #8076ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41b7",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 236.64,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.18288,
    "h": 273.7
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#3A41B7
secondary
#C7C386
accent
#D34CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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