#3A41B3#3A41B3

#3A41B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.178 H 273.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3A41B3
RGBrgb(58, 65, 179)
HSLhsl(237, 51%, 46%)
HSVhsv(237, 68%, 70%)
CMYKcmyk(67.6%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.84, 34.37, -61.42)
CIE-LCHlch(33.84, 70.38, 299.23°)
OKLaboklab(44.36% 0.012 -0.1772)
OKLCHoklch(44.36% 0.178 273.9)
XYZxyz(11.7692, 7.9337, 43.5502)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41B3 #B3AC3A
analogous
#3A7EB3 #3A41B3 #703AB3
triadic
#3A41B3 #B33A41 #41B33A
tetradic
#3A41B3 #B33A7E #B3AC3A #3AB370
square
#3A41B3 #B33A7E #B3AC3A #3AB370
split-complementary
#3A41B3 #B3703A #7EB33A
monochromatic
#1C1F57 #2B3085 #3A41B3 #5F65CB #8D92DA

Accessibility & contrast

On white

8.12
#3A41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A41B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41B3
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41B3#FFFFFF#000000##FFFFFF
##3A41B31.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a41b3;
/* rgb */ color: rgb(58, 65, 179);
/* oklch */ color: oklch(44.4% 0.178 273.9);
Tailwind
colors: {
  custom: {
    50: '#7f76cb',
    500: '#3a41b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a41b3;
$custom-light: #7f76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41b3",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 236.529,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.1776,
    "h": 273.9
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#3A41B3
secondary
#C5C184
accent
#D24DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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