#3A4FB3#3A4FB3

#3A4FB3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.160 H 270.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3A4FB3
RGBrgb(58, 79, 179)
HSLhsl(230, 51%, 46%)
HSVhsv(230, 68%, 70%)
CMYKcmyk(67.6%, 55.9%, 0%, 29.8%)
CIE-LABlab(37.38, 25.36, -55.66)
CIE-LCHlch(37.38, 61.17, 294.49°)
OKLaboklab(46.98% 0.0004 -0.1601)
OKLCHoklch(46.98% 0.16 270.2)
XYZxyz(12.6748, 9.7450, 43.8521)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FB3 #B39E3A
analogous
#3A8CB3 #3A4FB3 #623AB3
triadic
#3A4FB3 #B33A4F #4FB33A
tetradic
#3A4FB3 #B33A8C #B39E3A #3AB362
square
#3A4FB3 #B33A8C #B39E3A #3AB362
split-complementary
#3A4FB3 #B3623A #8CB33A
monochromatic
#1C2657 #2B3B85 #3A4FB3 #5F72CB #8D9BDA

Accessibility & contrast

On white

7.12
#3A4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3A4FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FB3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FB3#FFFFFF#000000##FFFFFF
##3A4FB31.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4fb3;
/* rgb */ color: rgb(58, 79, 179);
/* oklch */ color: oklch(47.0% 0.160 270.2);
Tailwind
colors: {
  custom: {
    50: '#7e80ca',
    500: '#3a4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fb3;
$custom-light: #7e80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fb3",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 229.587,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.16013,
    "h": 270.2
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#3A4FB3
secondary
#C5BA84
accent
#C24DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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