#3A77CF#3A77CF

#3A77CF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.4% C 0.150 H 257.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A77CF
RGBrgb(58, 119, 207)
HSLhsl(215, 61%, 52%)
HSVhsv(215, 72%, 81%)
CMYKcmyk(72%, 42.5%, 0%, 18.8%)
CIE-LABlab(50.21, 10.01, -51.23)
CIE-LCHlch(50.21, 52.20, 281.05°)
OKLaboklab(57.36% -0.0315 -0.1465)
OKLCHoklch(57.36% 0.15 257.9)
XYZxyz(19.6001, 18.5961, 61.5758)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A77CF #CF923A
analogous
#3AC2CF #3A77CF #483ACF
triadic
#3A77CF #CF3A77 #77CF3A
tetradic
#3A77CF #CF3AC2 #CF923A #3ACF48
square
#3A77CF #CF3AC2 #CF923A #3ACF48
split-complementary
#3A77CF #CF483A #C2CF3A
monochromatic
#1C3F73 #285BA4 #3A77CF #6B99DB #9CBBE7

Accessibility & contrast

On white

4.45
#3A77CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3A77CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A77CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A77CF#FFFFFF#000000##000000
##3A77CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD2
Deuteranopia (green-blind)
#3271CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a77cf;
/* rgb */ color: rgb(58, 119, 207);
/* oklch */ color: oklch(57.4% 0.150 257.9);
Tailwind
colors: {
  custom: {
    50: '#829dde',
    500: '#3a77cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a77cf;
$custom-light: #829dde;
$custom-dark: #000000;
JSON
{
  "hex": "#3a77cf",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 215.436,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.14983,
    "h": 257.9
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#3A77CF
secondary
#D3B892
accent
#A244E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A77CF

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

Preview Lab → · Contrast checker → · Palette generator →

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