#4782DB#4782DB

#4782DB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.149 H 258.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4782DB
RGBrgb(71, 130, 219)
HSLhsl(216, 67%, 57%)
HSVhsv(216, 68%, 86%)
CMYKcmyk(67.6%, 40.6%, 0%, 14.1%)
CIE-LABlab(54.47, 9.47, -51.20)
CIE-LCHlch(54.47, 52.07, 280.48°)
OKLaboklab(61.02% -0.0298 -0.146)
OKLCHoklch(61.02% 0.149 258.5)
XYZxyz(23.3627, 22.4170, 70.0998)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782DB #DBA047
analogous
#47CCDB #4782DB #5647DB
triadic
#4782DB #DB4782 #82DB47
tetradic
#4782DB #DB47CC #DBA047 #47DB56
square
#4782DB #DB47CC #DBA047 #47DB56
split-complementary
#4782DB #DB5647 #CCDB47
monochromatic
#1B488C #2563BF #4782DB #7AA5E5 #ADC8EF

Accessibility & contrast

On white

3.83
#4782DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4782DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782DB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782DB#FFFFFF#000000##000000
##4782DB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4782db;
/* rgb */ color: rgb(71, 130, 219);
/* oklch */ color: oklch(61.0% 0.149 258.5);
Tailwind
colors: {
  custom: {
    50: '#8aa5e6',
    500: '#4782db',
    950: '#000000',
  },
}
SCSS
$custom: #4782db;
$custom-light: #8aa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4782db",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 216.081,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.14903,
    "h": 258.5
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#4782DB
secondary
#DDC5A1
accent
#A53EEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4782DB

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

Preview Lab → · Contrast checker → · Palette generator →

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