#3A4FA3#3A4FA3

#3A4FA3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.138 H 269.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A4FA3
RGBrgb(58, 79, 163)
HSLhsl(228, 48%, 43%)
HSVhsv(228, 64%, 64%)
CMYKcmyk(64.4%, 51.5%, 0%, 36.1%)
CIE-LABlab(36.24, 19.58, -47.99)
CIE-LCHlch(36.24, 51.83, 292.19°)
OKLaboklab(45.76% -0.0007 -0.1376)
OKLCHoklch(45.76% 0.138 269.7)
XYZxyz(11.1495, 9.1349, 35.8189)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FA3 #A38E3A
analogous
#3A83A3 #3A4FA3 #593AA3
triadic
#3A4FA3 #A33A4F #4FA33A
tetradic
#3A4FA3 #A33A83 #A38E3A #3AA359
square
#3A4FA3 #A33A83 #A38E3A #3AA359
split-complementary
#3A4FA3 #A3593A #83A33A
monochromatic
#1A2349 #2A3976 #3A4FA3 #576DC3 #8494D3

Accessibility & contrast

On white

7.43
#3A4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A4FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FA3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FA3#FFFFFF#000000##FFFFFF
##3A4FA31.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA6
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a4fa3;
/* rgb */ color: rgb(58, 79, 163);
/* oklch */ color: oklch(45.8% 0.138 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b80bf',
    500: '#3a4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fa3;
$custom-light: #7b80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fa3",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 228,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.13756,
    "h": 269.7
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#3A4FA3
secondary
#BDB07C
accent
#BC51D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3A4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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