#3A4FB2#3A4FB2

#3A4FB2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.159 H 270.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3A4FB2
RGBrgb(58, 79, 178)
HSLhsl(230, 51%, 46%)
HSVhsv(230, 67%, 70%)
CMYKcmyk(67.4%, 55.6%, 0%, 30.2%)
CIE-LABlab(37.31, 25.00, -55.19)
CIE-LCHlch(37.31, 60.59, 294.37°)
OKLaboklab(46.91% 0.0004 -0.1587)
OKLCHoklch(46.91% 0.159 270.1)
XYZxyz(12.5741, 9.7047, 43.3214)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FB2 #B29D3A
analogous
#3A8BB2 #3A4FB2 #613AB2
triadic
#3A4FB2 #B23A4F #4FB23A
tetradic
#3A4FB2 #B23A8B #B29D3A #3AB261
square
#3A4FB2 #B23A8B #B29D3A #3AB261
split-complementary
#3A4FB2 #B2613A #8BB23A
monochromatic
#1C2656 #2B3B84 #3A4FB2 #5F71CB #8D9ADA

Accessibility & contrast

On white

7.14
#3A4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A4FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FB2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FB2#FFFFFF#000000##FFFFFF
##3A4FB21.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4fb2;
/* rgb */ color: rgb(58, 79, 178);
/* oklch */ color: oklch(46.9% 0.159 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e80ca',
    500: '#3a4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fb2;
$custom-light: #7e80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fb2",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 229.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46905,
    "c": 0.15875,
    "h": 270.1
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#3A4FB2
secondary
#C4B983
accent
#C24DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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