#3A5FA0#3A5FA0

#3A5FA0 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 49.0% C 0.113 H 260.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3A5FA0
RGBrgb(58, 95, 160)
HSLhsl(218, 47%, 43%)
HSVhsv(218, 64%, 63%)
CMYKcmyk(63.8%, 40.6%, 0%, 37.3%)
CIE-LABlab(40.61, 8.09, -39.21)
CIE-LCHlch(40.61, 40.04, 281.65°)
OKLaboklab(49.05% -0.0179 -0.1115)
OKLCHoklch(49.05% 0.113 260.9)
XYZxyz(12.1801, 11.6209, 34.8521)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FA0 #A07B3A
analogous
#3A92A0 #3A5FA0 #483AA0
triadic
#3A5FA0 #A03A5F #5FA03A
tetradic
#3A5FA0 #A03A92 #A07B3A #3AA048
square
#3A5FA0 #A03A92 #A07B3A #3AA048
split-complementary
#3A5FA0 #A0483A #92A03A
monochromatic
#192A46 #2A4473 #3A5FA0 #567DC2 #839FD2

Accessibility & contrast

On white

6.32
#3A5FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3A5FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FA0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FA0#FFFFFF#000000##FFFFFF
##3A5FA01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A3
Deuteranopia (green-blind)
#345B9F
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5fa0;
/* rgb */ color: rgb(58, 95, 160);
/* oklch */ color: oklch(49.0% 0.113 260.9);
Tailwind
colors: {
  custom: {
    50: '#7a8cbc',
    500: '#3a5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fa0;
$custom-light: #7a8cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fa0",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 218.235,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49048,
    "c": 0.11297,
    "h": 260.9
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#3A5FA0
secondary
#BCA47A
accent
#A651D6
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3A5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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