#3A41B0#3A41B0

#3A41B0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.174 H 274.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3A41B0
RGBrgb(58, 65, 176)
HSLhsl(236, 50%, 46%)
HSVhsv(236, 67%, 69%)
CMYKcmyk(67%, 63.1%, 0%, 31%)
CIE-LABlab(33.59, 33.32, -60.05)
CIE-LCHlch(33.59, 68.67, 299.02°)
OKLaboklab(44.1% 0.0122 -0.1732)
OKLCHoklch(44.1% 0.174 274)
XYZxyz(11.4691, 7.8137, 41.9697)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41B0 #B0A93A
analogous
#3A7CB0 #3A41B0 #6E3AB0
triadic
#3A41B0 #B03A41 #41B03A
tetradic
#3A41B0 #B03A7C #B0A93A #3AB06E
square
#3A41B0 #B03A7C #B0A93A #3AB06E
split-complementary
#3A41B0 #B06E3A #7CB03A
monochromatic
#1C1F54 #2B3082 #3A41B0 #5D64CA #8B90D9

Accessibility & contrast

On white

8.19
#3A41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41B0
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41B0#FFFFFF#000000##FFFFFF
##3A41B01.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a41b0;
/* rgb */ color: rgb(58, 65, 176);
/* oklch */ color: oklch(44.1% 0.174 274.0);
Tailwind
colors: {
  custom: {
    50: '#7f75c9',
    500: '#3a41b0',
    950: '#000000',
  },
}
SCSS
$custom: #3a41b0;
$custom-light: #7f75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41b0",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 236.441,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.17361,
    "h": 274
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#3A41B0
secondary
#C3C082
accent
#D24EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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