#3A77D5#3A77D5

#3A77D5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.158 H 258.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A77D5
RGBrgb(58, 119, 213)
HSLhsl(216, 65%, 53%)
HSVhsv(216, 73%, 84%)
CMYKcmyk(72.8%, 44.1%, 0%, 16.5%)
CIE-LABlab(50.56, 12.19, -54.08)
CIE-LCHlch(50.56, 55.44, 282.71°)
OKLaboklab(57.75% -0.0304 -0.1548)
OKLCHoklch(57.75% 0.158 258.9)
XYZxyz(20.3476, 18.8951, 65.5126)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A77D5 #D5983A
analogous
#3AC5D5 #3A77D5 #4A3AD5
triadic
#3A77D5 #D53A77 #77D53A
tetradic
#3A77D5 #D53AC5 #D5983A #3AD54A
square
#3A77D5 #D53AC5 #D5983A #3AD54A
split-complementary
#3A77D5 #D54A3A #C5D53A
monochromatic
#1A407A #255AAD #3A77D5 #6C9AE0 #9FBDEB

Accessibility & contrast

On white

4.39
#3A77D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3A77D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A77D5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A77D5#FFFFFF#000000##000000
##3A77D51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4880D9
Deuteranopia (green-blind)
#2972D3
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a77d5;
/* rgb */ color: rgb(58, 119, 213);
/* oklch */ color: oklch(57.8% 0.158 258.9);
Tailwind
colors: {
  custom: {
    50: '#839de2',
    500: '#3a77d5',
    950: '#000000',
  },
}
SCSS
$custom: #3a77d5;
$custom-light: #839de2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a77d5",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 213
  },
  "hsl": {
    "h": 216.387,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.15778,
    "h": 258.9
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

primary
#3A77D5
secondary
#D7BD94
accent
#A640E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A77D5

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

Preview Lab → · Contrast checker → · Palette generator →

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