#3A46BF#3A46BF

#3A46BF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.187 H 272.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3A46BF
RGBrgb(58, 70, 191)
HSLhsl(235, 53%, 49%)
HSVhsv(235, 70%, 75%)
CMYKcmyk(69.6%, 63.4%, 0%, 25.1%)
CIE-LABlab(36.06, 35.41, -64.87)
CIE-LCHlch(36.06, 73.91, 298.63°)
OKLaboklab(46.3% 0.0076 -0.1873)
OKLCHoklch(46.3% 0.187 272.3)
XYZxyz(13.3359, 9.0402, 50.3222)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46BF #BFB33A
analogous
#3A89BF #3A46BF #703ABF
triadic
#3A46BF #BF3A46 #46BF3A
tetradic
#3A46BF #BF3A89 #BFB33A #3ABF70
square
#3A46BF #BF3A89 #BFB33A #3ABF70
split-complementary
#3A46BF #BF703A #89BF3A
monochromatic
#1D2461 #2C3590 #3A46BF #666FD0 #959BDF

Accessibility & contrast

On white

7.48
#3A46BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3A46BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46BF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46BF#FFFFFF#000000##FFFFFF
##3A46BF1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a46bf;
/* rgb */ color: rgb(58, 70, 191);
/* oklch */ color: oklch(46.3% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#8279d3',
    500: '#3a46bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a46bf;
$custom-light: #8279d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46bf",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 234.586,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.18743,
    "h": 272.3
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#3A46BF
secondary
#CAC48B
accent
#D04BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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