#3A77DD#3A77DD

#3A77DD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.168 H 260.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3A77DD
RGBrgb(58, 119, 221)
HSLhsl(218, 71%, 55%)
HSVhsv(218, 74%, 87%)
CMYKcmyk(73.8%, 46.2%, 0%, 13.3%)
CIE-LABlab(51.05, 15.12, -57.82)
CIE-LCHlch(51.05, 59.77, 284.65°)
OKLaboklab(58.28% -0.029 -0.1658)
OKLCHoklch(58.28% 0.168 260.1)
XYZxyz(21.3882, 19.3113, 70.9928)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A77DD #DDA03A
analogous
#3AC9DD #3A77DD #4F3ADD
triadic
#3A77DD #DD3A77 #77DD3A
tetradic
#3A77DD #DD3AC9 #DDA03A #3ADD4F
square
#3A77DD #DD3AC9 #DDA03A #3ADD4F
split-complementary
#3A77DD #DD4F3A #C9DD3A
monochromatic
#174086 #205ABA #3A77DD #6E9BE6 #A2BFEF

Accessibility & contrast

On white

4.32
#3A77DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3A77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A77DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A77DD#FFFFFF#000000##000000
##3A77DD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#1973DB
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a77dd;
/* rgb */ color: rgb(58, 119, 221);
/* oklch */ color: oklch(58.3% 0.168 260.1);
Tailwind
colors: {
  custom: {
    50: '#859de8',
    500: '#3a77dd',
    950: '#000000',
  },
}
SCSS
$custom: #3a77dd;
$custom-light: #859de8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a77dd",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 217.546,
    "s": 70.563,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.16836,
    "h": 260.1
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#3A77DD
secondary
#DCC297
accent
#AA3AED
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3A77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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