#3A4FAF#3A4FAF

#3A4FAF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.155 H 270.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#3A4FAF
RGBrgb(58, 79, 175)
HSLhsl(229, 50%, 46%)
HSVhsv(229, 67%, 69%)
CMYKcmyk(66.9%, 54.9%, 0%, 31.4%)
CIE-LABlab(37.09, 23.91, -53.77)
CIE-LCHlch(37.09, 58.85, 293.98°)
OKLaboklab(46.67% 0.0002 -0.1546)
OKLCHoklch(46.67% 0.155 270.1)
XYZxyz(12.2761, 9.5855, 41.7524)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FAF #AF9A3A
analogous
#3A89AF #3A4FAF #5F3AAF
triadic
#3A4FAF #AF3A4F #4FAF3A
tetradic
#3A4FAF #AF3A89 #AF9A3A #3AAF5F
square
#3A4FAF #AF3A89 #AF9A3A #3AAF5F
split-complementary
#3A4FAF #AF5F3A #89AF3A
monochromatic
#1C2553 #2B3A81 #3A4FAF #5D70C9 #8B99D9

Accessibility & contrast

On white

7.20
#3A4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3A4FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FAF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FAF#FFFFFF#000000##FFFFFF
##3A4FAF1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4faf;
/* rgb */ color: rgb(58, 79, 175);
/* oklch */ color: oklch(46.7% 0.155 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e80c8',
    500: '#3a4faf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4faf;
$custom-light: #7e80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4faf",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 229.231,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.15457,
    "h": 270.1
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#3A4FAF
secondary
#C3B782
accent
#C14EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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