#4771DB#4771DB

#4771DB is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.169 H 265.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4771DB
RGBrgb(71, 113, 219)
HSLhsl(223, 67%, 57%)
HSVhsv(223, 68%, 86%)
CMYKcmyk(67.6%, 48.4%, 0%, 14.1%)
CIE-LABlab(49.81, 19.96, -58.66)
CIE-LCHlch(49.81, 61.96, 288.79°)
OKLaboklab(57.44% -0.0141 -0.1682)
OKLCHoklch(57.44% 0.169 265.2)
XYZxyz(21.2854, 18.2622, 69.4073)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4771DB #DBB147
analogous
#47BBDB #4771DB #6747DB
triadic
#4771DB #DB4771 #71DB47
tetradic
#4771DB #DB47BB #DBB147 #47DB67
square
#4771DB #DB47BB #DBB147 #47DB67
split-complementary
#4771DB #DB6747 #BBDB47
monochromatic
#1B3B8C #2551BF #4771DB #7A99E5 #ADC0EF

Accessibility & contrast

On white

4.51
#4771DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4771DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4771DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4771DB#FFFFFF#000000##000000
##4771DB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#0C70D9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4771db;
/* rgb */ color: rgb(71, 113, 219);
/* oklch */ color: oklch(57.4% 0.169 265.2);
Tailwind
colors: {
  custom: {
    50: '#8a99e7',
    500: '#4771db',
    950: '#000000',
  },
}
SCSS
$custom: #4771db;
$custom-light: #8a99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4771db",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 222.973,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.16877,
    "h": 265.2
  },
  "luminance": 0.18264
}

Semantic roles & 50–950 ramp

primary
#4771DB
secondary
#DDCCA1
accent
#B93EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4771DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4771DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva