#3A5DA3#3A5DA3

#3A5DA3 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.8% C 0.120 H 262.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3A5DA3
RGBrgb(58, 93, 163)
HSLhsl(220, 48%, 43%)
HSVhsv(220, 64%, 64%)
CMYKcmyk(64.4%, 42.9%, 0%, 36.1%)
CIE-LABlab(40.20, 10.45, -41.65)
CIE-LCHlch(40.20, 42.94, 284.08°)
OKLaboklab(48.79% -0.0151 -0.1187)
OKLCHoklch(48.79% 0.12 262.7)
XYZxyz(12.2678, 11.3715, 36.1916)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DA3 #A3803A
analogous
#3A91A3 #3A5DA3 #4B3AA3
triadic
#3A5DA3 #A33A5D #5DA33A
tetradic
#3A5DA3 #A33A91 #A3803A #3AA34B
square
#3A5DA3 #A33A91 #A3803A #3AA34B
split-complementary
#3A5DA3 #A34B3A #91A33A
monochromatic
#1A2949 #2A4376 #3A5DA3 #577BC3 #849FD3

Accessibility & contrast

On white

6.41
#3A5DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3A5DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DA3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DA3#FFFFFF#000000##FFFFFF
##3A5DA31.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A6
Deuteranopia (green-blind)
#2D5AA2
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5da3;
/* rgb */ color: rgb(58, 93, 163);
/* oklch */ color: oklch(48.8% 0.120 262.7);
Tailwind
colors: {
  custom: {
    50: '#7b8abf',
    500: '#3a5da3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5da3;
$custom-light: #7b8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5da3",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 163
  },
  "hsl": {
    "h": 220,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.11968,
    "h": 262.7
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#3A5DA3
secondary
#BDA77C
accent
#AA51D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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