#3A46CB#3A46CB

#3A46CB is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.4% C 0.203 H 271.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#3A46CB
RGBrgb(58, 70, 203)
HSLhsl(235, 58%, 51%)
HSVhsv(235, 71%, 80%)
CMYKcmyk(71.4%, 65.5%, 0%, 20.4%)
CIE-LABlab(37.10, 39.59, -70.17)
CIE-LCHlch(37.10, 80.57, 299.43°)
OKLaboklab(47.38% 0.0068 -0.2028)
OKLCHoklch(47.38% 0.203 271.9)
XYZxyz(14.7109, 9.5902, 57.5641)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46CB #CBBF3A
analogous
#3A8FCB #3A46CB #763ACB
triadic
#3A46CB #CB3A46 #46CB3A
tetradic
#3A46CB #CB3A8F #CBBF3A #3ACB76
square
#3A46CB #CB3A8F #CBBF3A #3ACB76
split-complementary
#3A46CB #CB763A #8FCB3A
monochromatic
#1D246E #2A339E #3A46CB #6A73D8 #9BA1E5

Accessibility & contrast

On white

7.20
#3A46CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3A46CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46CB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46CB#FFFFFF#000000##FFFFFF
##3A46CB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a46cb;
/* rgb */ color: rgb(58, 70, 203);
/* oklch */ color: oklch(47.4% 0.203 271.9);
Tailwind
colors: {
  custom: {
    50: '#847adc',
    500: '#3a46cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a46cb;
$custom-light: #847adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46cb",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 235.034,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.20292,
    "h": 271.9
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#3A46CB
secondary
#D0CB90
accent
#D546E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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