#3A5DA2#3A5DA2

#3A5DA2 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.7% C 0.118 H 262.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3A5DA2
RGBrgb(58, 93, 162)
HSLhsl(220, 47%, 43%)
HSVhsv(220, 64%, 64%)
CMYKcmyk(64.2%, 42.6%, 0%, 36.5%)
CIE-LABlab(40.14, 10.09, -41.15)
CIE-LCHlch(40.14, 42.36, 283.77°)
OKLaboklab(48.72% -0.0153 -0.1172)
OKLCHoklch(48.72% 0.118 262.6)
XYZxyz(12.1786, 11.3358, 35.7216)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DA2 #A27F3A
analogous
#3A91A2 #3A5DA2 #4B3AA2
triadic
#3A5DA2 #A23A5D #5DA23A
tetradic
#3A5DA2 #A23A91 #A27F3A #3AA24B
square
#3A5DA2 #A23A91 #A27F3A #3AA24B
split-complementary
#3A5DA2 #A24B3A #91A23A
monochromatic
#1A2948 #2A4375 #3A5DA2 #577BC3 #849ED3

Accessibility & contrast

On white

6.43
#3A5DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5DA2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DA2#FFFFFF#000000##FFFFFF
##3A5DA21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2E5AA1
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5da2;
/* rgb */ color: rgb(58, 93, 162);
/* oklch */ color: oklch(48.7% 0.118 262.6);
Tailwind
colors: {
  custom: {
    50: '#7a8abe',
    500: '#3a5da2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5da2;
$custom-light: #7a8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5da2",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 219.808,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.11825,
    "h": 262.6
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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