#3A41AF#3A41AF

#3A41AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.172 H 274.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3A41AF
RGBrgb(58, 65, 175)
HSLhsl(236, 50%, 46%)
HSVhsv(236, 67%, 69%)
CMYKcmyk(66.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(33.51, 32.97, -59.59)
CIE-LCHlch(33.51, 68.10, 298.95°)
OKLaboklab(44.01% 0.0122 -0.1718)
OKLCHoklch(44.01% 0.172 274.1)
XYZxyz(11.3705, 7.7743, 41.4505)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41AF #AFA83A
analogous
#3A7BAF #3A41AF #6D3AAF
triadic
#3A41AF #AF3A41 #41AF3A
tetradic
#3A41AF #AF3A7B #AFA83A #3AAF6D
square
#3A41AF #AF3A7B #AFA83A #3AAF6D
split-complementary
#3A41AF #AF6D3A #7BAF3A
monochromatic
#1C1F53 #2B3081 #3A41AF #5D63C9 #8B90D9

Accessibility & contrast

On white

8.22
#3A41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3A41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41AF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41AF#FFFFFF#000000##FFFFFF
##3A41AF1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a41af;
/* rgb */ color: rgb(58, 65, 175);
/* oklch */ color: oklch(44.0% 0.172 274.1);
Tailwind
colors: {
  custom: {
    50: '#7f75c8',
    500: '#3a41af',
    950: '#000000',
  },
}
SCSS
$custom: #3a41af;
$custom-light: #7f75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41af",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 236.41,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.17226,
    "h": 274.1
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#3A41AF
secondary
#C3BF82
accent
#D14EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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