#3A5DA5#3A5DA5

#3A5DA5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.123 H 263.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3A5DA5
RGBrgb(58, 93, 165)
HSLhsl(220, 48%, 44%)
HSVhsv(220, 65%, 65%)
CMYKcmyk(64.8%, 43.6%, 0%, 35.3%)
CIE-LABlab(40.32, 11.17, -42.64)
CIE-LCHlch(40.32, 44.08, 284.68°)
OKLaboklab(48.92% -0.0147 -0.1216)
OKLCHoklch(48.92% 0.123 263.1)
XYZxyz(12.4484, 11.4437, 37.1428)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DA5 #A5823A
analogous
#3A92A5 #3A5DA5 #4C3AA5
triadic
#3A5DA5 #A53A5D #5DA53A
tetradic
#3A5DA5 #A53A92 #A5823A #3AA54C
square
#3A5DA5 #A53A92 #A5823A #3AA54C
split-complementary
#3A5DA5 #A54C3A #92A53A
monochromatic
#1A2A4A #2A4378 #3A5DA5 #587BC4 #859FD4

Accessibility & contrast

On white

6.38
#3A5DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3A5DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DA5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DA5#FFFFFF#000000##FFFFFF
##3A5DA51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A8
Deuteranopia (green-blind)
#2B5AA4
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5da5;
/* rgb */ color: rgb(58, 93, 165);
/* oklch */ color: oklch(48.9% 0.123 263.1);
Tailwind
colors: {
  custom: {
    50: '#7b8ac0',
    500: '#3a5da5',
    950: '#000000',
  },
}
SCSS
$custom: #3a5da5;
$custom-light: #7b8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5da5",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 220.374,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.12254,
    "h": 263.1
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#3A5DA5
secondary
#BEA97D
accent
#AB50D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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