#3A4FA8#3A4FA8

#3A4FA8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.145 H 269.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3A4FA8
RGBrgb(58, 79, 168)
HSLhsl(229, 49%, 44%)
HSVhsv(229, 65%, 66%)
CMYKcmyk(65.5%, 53%, 0%, 34.1%)
CIE-LABlab(36.59, 21.38, -50.42)
CIE-LCHlch(36.59, 54.77, 292.98°)
OKLaboklab(46.14% -0.0003 -0.1447)
OKLCHoklch(46.14% 0.145 269.9)
XYZxyz(11.6064, 9.3176, 38.2250)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FA8 #A8933A
analogous
#3A86A8 #3A4FA8 #5C3AA8
triadic
#3A4FA8 #A83A4F #4FA83A
tetradic
#3A4FA8 #A83A86 #A8933A #3AA85C
square
#3A4FA8 #A83A86 #A8933A #3AA85C
split-complementary
#3A4FA8 #A85C3A #86A83A
monochromatic
#1B244D #2A3A7B #3A4FA8 #596EC6 #8796D6

Accessibility & contrast

On white

7.33
#3A4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A4FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FA8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FA8#FFFFFF#000000##FFFFFF
##3A4FA81.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4fa8;
/* rgb */ color: rgb(58, 79, 168);
/* oklch */ color: oklch(46.1% 0.145 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c80c2',
    500: '#3a4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fa8;
$custom-light: #7c80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fa8",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 228.545,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46136,
    "c": 0.14471,
    "h": 269.9
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#3A4FA8
secondary
#C0B37E
accent
#BE50D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3A4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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