#3A41BE#3A41BE

#3A41BE is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.192 H 273.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3A41BE
RGBrgb(58, 65, 190)
HSLhsl(237, 53%, 49%)
HSVhsv(237, 69%, 75%)
CMYKcmyk(69.5%, 65.8%, 0%, 25.5%)
CIE-LABlab(34.80, 38.18, -66.36)
CIE-LCHlch(34.80, 76.56, 299.92°)
OKLaboklab(45.35% 0.0112 -0.1917)
OKLCHoklch(45.35% 0.192 273.3)
XYZxyz(12.9264, 8.3966, 49.6447)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41BE #BEB73A
analogous
#3A83BE #3A41BE #753ABE
triadic
#3A41BE #BE3A41 #41BE3A
tetradic
#3A41BE #BE3A83 #BEB73A #3ABE75
square
#3A41BE #BE3A83 #BEB73A #3ABE75
split-complementary
#3A41BE #BE753A #83BE3A
monochromatic
#1D2160 #2C318F #3A41BE #656BD0 #9498DE

Accessibility & contrast

On white

7.84
#3A41BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A41BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41BE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41BE#FFFFFF#000000##FFFFFF
##3A41BE1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a41be;
/* rgb */ color: rgb(58, 65, 190);
/* oklch */ color: oklch(45.3% 0.192 273.3);
Tailwind
colors: {
  custom: {
    50: '#8276d3',
    500: '#3a41be',
    950: '#000000',
  },
}
SCSS
$custom: #3a41be;
$custom-light: #8276d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41be",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 236.818,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45349,
    "c": 0.19199,
    "h": 273.3
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#3A41BE
secondary
#CAC68A
accent
#D54BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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