#3A77D2#3A77D2

#3A77D2 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.6% C 0.154 H 258.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3A77D2
RGBrgb(58, 119, 210)
HSLhsl(216, 63%, 53%)
HSVhsv(216, 72%, 82%)
CMYKcmyk(72.4%, 43.3%, 0%, 17.6%)
CIE-LABlab(50.39, 11.10, -52.66)
CIE-LCHlch(50.39, 53.82, 281.90°)
OKLaboklab(57.56% -0.0309 -0.1507)
OKLCHoklch(57.56% 0.154 258.4)
XYZxyz(19.9704, 18.7442, 63.5258)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A77D2 #D2953A
analogous
#3AC3D2 #3A77D2 #493AD2
triadic
#3A77D2 #D23A77 #77D23A
tetradic
#3A77D2 #D23AC3 #D2953A #3AD249
square
#3A77D2 #D23AC3 #D2953A #3AD249
split-complementary
#3A77D2 #D2493A #C3D23A
monochromatic
#1B4077 #265BA8 #3A77D2 #6C99DD #9EBCE9

Accessibility & contrast

On white

4.42
#3A77D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3A77D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A77D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A77D2#FFFFFF#000000##000000
##3A77D21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7FD6
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a77d2;
/* rgb */ color: rgb(58, 119, 210);
/* oklch */ color: oklch(57.6% 0.154 258.4);
Tailwind
colors: {
  custom: {
    50: '#839de0',
    500: '#3a77d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a77d2;
$custom-light: #839de0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a77d2",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 215.921,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.1538,
    "h": 258.4
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#3A77D2
secondary
#D5BA93
accent
#A442E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A77D2

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

Preview Lab → · Contrast checker → · Palette generator →

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