#3A77DF#3A77DF

#3A77DF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.171 H 260.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A77DF
RGBrgb(58, 119, 223)
HSLhsl(218, 72%, 55%)
HSVhsv(218, 74%, 87%)
CMYKcmyk(74%, 46.6%, 0%, 12.5%)
CIE-LABlab(51.17, 15.85, -58.75)
CIE-LCHlch(51.17, 60.85, 285.10°)
OKLaboklab(58.41% -0.0287 -0.1686)
OKLCHoklch(58.41% 0.171 260.3)
XYZxyz(21.6562, 19.4185, 72.4045)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A77DF #DFA23A
analogous
#3ACADF #3A77DF #4F3ADF
triadic
#3A77DF #DF3A77 #77DF3A
tetradic
#3A77DF #DF3ACA #DFA23A #3ADF4F
square
#3A77DF #DF3ACA #DFA23A #3ADF4F
split-complementary
#3A77DF #DF4F3A #CADF3A
monochromatic
#164088 #1F59BD #3A77DF #6F9BE8 #A3C0F0

Accessibility & contrast

On white

4.30
#3A77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3A77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A77DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A77DF#FFFFFF#000000##000000
##3A77DF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#1273DD
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a77df;
/* rgb */ color: rgb(58, 119, 223);
/* oklch */ color: oklch(58.4% 0.171 260.3);
Tailwind
colors: {
  custom: {
    50: '#859dea',
    500: '#3a77df',
    950: '#000000',
  },
}
SCSS
$custom: #3a77df;
$custom-light: #859dea;
$custom-dark: #000000;
JSON
{
  "hex": "#3a77df",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 217.818,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.171,
    "h": 260.3
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#3A77DF
secondary
#DDC398
accent
#AC39EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3A77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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