#3A41BF#3A41BF

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

Color values

HEX#3A41BF
RGBrgb(58, 65, 191)
HSLhsl(237, 53%, 49%)
HSVhsv(237, 70%, 75%)
CMYKcmyk(69.6%, 66%, 0%, 25.1%)
CIE-LABlab(34.88, 38.53, -66.80)
CIE-LCHlch(34.88, 77.11, 299.97°)
OKLaboklab(45.44% 0.0111 -0.1929)
OKLCHoklch(45.44% 0.193 273.3)
XYZxyz(13.0360, 8.4405, 50.2223)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A41BF #BFB83A
analogous
#3A84BF #3A41BF #763ABF
triadic
#3A41BF #BF3A41 #41BF3A
tetradic
#3A41BF #BF3A84 #BFB83A #3ABF76
square
#3A41BF #BF3A84 #BFB83A #3ABF76
split-complementary
#3A41BF #BF763A #84BF3A
monochromatic
#1D2161 #2C3190 #3A41BF #666BD0 #9599DF

Accessibility & contrast

On white

7.81
#3A41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A41BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A41BF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A41BF#FFFFFF#000000##FFFFFF
##3A41BF1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a41bf;
/* rgb */ color: rgb(58, 65, 191);
/* oklch */ color: oklch(45.4% 0.193 273.3);
Tailwind
colors: {
  custom: {
    50: '#8276d3',
    500: '#3a41bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a41bf;
$custom-light: #8276d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a41bf",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 236.842,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4544,
    "c": 0.19327,
    "h": 273.3
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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