#3A77D4#3A77D4

#3A77D4 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.7% C 0.156 H 258.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A77D4
RGBrgb(58, 119, 212)
HSLhsl(216, 64%, 53%)
HSVhsv(216, 73%, 83%)
CMYKcmyk(72.6%, 43.9%, 0%, 16.9%)
CIE-LABlab(50.50, 11.83, -53.61)
CIE-LCHlch(50.50, 54.90, 282.44°)
OKLaboklab(57.68% -0.0305 -0.1534)
OKLCHoklch(57.68% 0.156 258.7)
XYZxyz(20.2211, 18.8444, 64.8462)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A77D4 #D4973A
analogous
#3AC4D4 #3A77D4 #4A3AD4
triadic
#3A77D4 #D43A77 #77D43A
tetradic
#3A77D4 #D43AC4 #D4973A #3AD44A
square
#3A77D4 #D43AC4 #D4973A #3AD44A
split-complementary
#3A77D4 #D44A3A #C4D43A
monochromatic
#1A4079 #255AAB #3A77D4 #6C9ADF #9EBCEA

Accessibility & contrast

On white

4.40
#3A77D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#3A77D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A77D4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A77D4#FFFFFF#000000##000000
##3A77D41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4980D8
Deuteranopia (green-blind)
#2B72D2
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a77d4;
/* rgb */ color: rgb(58, 119, 212);
/* oklch */ color: oklch(57.7% 0.156 258.7);
Tailwind
colors: {
  custom: {
    50: '#839de2',
    500: '#3a77d4',
    950: '#000000',
  },
}
SCSS
$custom: #3a77d4;
$custom-light: #839de2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a77d4",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 216.234,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.15646,
    "h": 258.7
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#3A77D4
secondary
#D6BC94
accent
#A541E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A77D4

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

Preview Lab → · Contrast checker → · Palette generator →

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