#3A46BE#3A46BE

#3A46BE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.186 H 272.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3A46BE
RGBrgb(58, 70, 190)
HSLhsl(235, 53%, 49%)
HSVhsv(235, 69%, 75%)
CMYKcmyk(69.5%, 63.2%, 0%, 25.5%)
CIE-LABlab(35.98, 35.06, -64.42)
CIE-LCHlch(35.98, 73.34, 298.56°)
OKLaboklab(46.21% 0.0076 -0.186)
OKLCHoklch(46.21% 0.186 272.4)
XYZxyz(13.2262, 8.9963, 49.7446)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46BE #BEB23A
analogous
#3A88BE #3A46BE #703ABE
triadic
#3A46BE #BE3A46 #46BE3A
tetradic
#3A46BE #BE3A88 #BEB23A #3ABE70
square
#3A46BE #BE3A88 #BEB23A #3ABE70
split-complementary
#3A46BE #BE703A #88BE3A
monochromatic
#1D2360 #2C358F #3A46BE #656FD0 #949BDE

Accessibility & contrast

On white

7.50
#3A46BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3A46BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46BE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46BE#FFFFFF#000000##FFFFFF
##3A46BE1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a46be;
/* rgb */ color: rgb(58, 70, 190);
/* oklch */ color: oklch(46.2% 0.186 272.4);
Tailwind
colors: {
  custom: {
    50: '#8179d3',
    500: '#3a46be',
    950: '#000000',
  },
}
SCSS
$custom: #3a46be;
$custom-light: #8179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46be",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 234.545,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46213,
    "c": 0.18612,
    "h": 272.4
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#3A46BE
secondary
#CAC48A
accent
#CF4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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