#4781D4#4781D4

#4781D4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.141 H 257.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4781D4
RGBrgb(71, 129, 212)
HSLhsl(215, 62%, 55%)
HSVhsv(215, 67%, 83%)
CMYKcmyk(66.5%, 39.2%, 0%, 16.9%)
CIE-LABlab(53.80, 7.63, -48.31)
CIE-LCHlch(53.80, 48.91, 278.98°)
OKLaboklab(60.38% -0.0303 -0.1375)
OKLCHoklch(60.38% 0.141 257.6)
XYZxyz(22.3282, 21.7913, 65.3040)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781D4 #D49A47
analogous
#47C8D4 #4781D4 #5347D4
triadic
#4781D4 #D44781 #81D447
tetradic
#4781D4 #D447C8 #D49A47 #47D453
square
#4781D4 #D447C8 #D49A47 #47D453
split-complementary
#4781D4 #D45347 #C8D447
monochromatic
#1E4782 #2A63B4 #4781D4 #79A3E0 #AAC5EB

Accessibility & contrast

On white

3.92
#4781D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4781D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781D4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781D4#FFFFFF#000000##000000
##4781D41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D7
Deuteranopia (green-blind)
#467BD2
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4781d4;
/* rgb */ color: rgb(71, 129, 212);
/* oklch */ color: oklch(60.4% 0.141 257.6);
Tailwind
colors: {
  custom: {
    50: '#88a5e1',
    500: '#4781d4',
    950: '#000000',
  },
}
SCSS
$custom: #4781d4;
$custom-light: #88a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4781d4",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 212
  },
  "hsl": {
    "h": 215.319,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.14086,
    "h": 257.6
  },
  "luminance": 0.21794
}

Semantic roles & 50–950 ramp

primary
#4781D4
secondary
#D9C19E
accent
#A243E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4781D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4781D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva