#3A4FB7#3A4FB7

#3A4FB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.166 H 270.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3A4FB7
RGBrgb(58, 79, 183)
HSLhsl(230, 52%, 47%)
HSVhsv(230, 68%, 72%)
CMYKcmyk(68.3%, 56.8%, 0%, 28.2%)
CIE-LABlab(37.68, 26.80, -57.54)
CIE-LCHlch(37.68, 63.47, 294.98°)
OKLaboklab(47.3% 0.0006 -0.1656)
OKLCHoklch(47.3% 0.166 270.2)
XYZxyz(13.0852, 9.9092, 46.0136)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FB7 #B7A23A
analogous
#3A8EB7 #3A4FB7 #643AB7
triadic
#3A4FB7 #B73A4F #4FB73A
tetradic
#3A4FB7 #B73A8E #B7A23A #3AB764
square
#3A4FB7 #B73A8E #B7A23A #3AB764
split-complementary
#3A4FB7 #B7643A #8EB73A
monochromatic
#1D275A #2B3B89 #3A4FB7 #6173CD #909CDC

Accessibility & contrast

On white

7.04
#3A4FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3A4FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FB7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FB7#FFFFFF#000000##FFFFFF
##3A4FB71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4fb7;
/* rgb */ color: rgb(58, 79, 183);
/* oklch */ color: oklch(47.3% 0.166 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f80cd',
    500: '#3a4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fb7;
$custom-light: #7f80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fb7",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 229.92,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.16565,
    "h": 270.2
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#3A4FB7
secondary
#C7BC86
accent
#C34CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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