#3A5FA3#3A5FA3

#3A5FA3 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.2% C 0.117 H 261.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3A5FA3
RGBrgb(58, 95, 163)
HSLhsl(219, 48%, 43%)
HSVhsv(219, 64%, 64%)
CMYKcmyk(64.4%, 41.7%, 0%, 36.1%)
CIE-LABlab(40.78, 9.16, -40.72)
CIE-LCHlch(40.78, 41.74, 282.68°)
OKLaboklab(49.24% -0.0172 -0.116)
OKLCHoklch(49.24% 0.117 261.5)
XYZxyz(12.4457, 11.7271, 36.2509)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FA3 #A37E3A
analogous
#3A93A3 #3A5FA3 #493AA3
triadic
#3A5FA3 #A33A5F #5FA33A
tetradic
#3A5FA3 #A33A93 #A37E3A #3AA349
square
#3A5FA3 #A33A93 #A37E3A #3AA349
split-complementary
#3A5FA3 #A3493A #93A33A
monochromatic
#1A2A49 #2A4576 #3A5FA3 #577DC3 #84A0D3

Accessibility & contrast

On white

6.28
#3A5FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A5FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FA3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FA3#FFFFFF#000000##FFFFFF
##3A5FA31.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A6
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5fa3;
/* rgb */ color: rgb(58, 95, 163);
/* oklch */ color: oklch(49.2% 0.117 261.5);
Tailwind
colors: {
  custom: {
    50: '#7b8cbe',
    500: '#3a5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fa3;
$custom-light: #7b8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fa3",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 218.857,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.11725,
    "h": 261.5
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#3A5FA3
secondary
#BDA67C
accent
#A851D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3A5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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