#4781DF#4781DF

#4781DF is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.155 H 259.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4781DF
RGBrgb(71, 129, 223)
HSLhsl(217, 70%, 58%)
HSVhsv(217, 68%, 87%)
CMYKcmyk(68.2%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.41, 11.48, -53.53)
CIE-LCHlch(54.41, 54.75, 282.11°)
OKLaboklab(61.05% -0.028 -0.1529)
OKLCHoklch(61.05% 0.155 259.6)
XYZxyz(23.7633, 22.3654, 72.8623)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781DF #DFA547
analogous
#47CDDF #4781DF #5947DF
triadic
#4781DF #DF4781 #81DF47
tetradic
#4781DF #DF47CD #DFA547 #47DF59
square
#4781DF #DF47CD #DFA547 #47DF59
split-complementary
#4781DF #DF5947 #CDDF47
monochromatic
#194892 #2261C6 #4781DF #7BA5E8 #AFC8F1

Accessibility & contrast

On white

3.84
#4781DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4781DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781DF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781DF#FFFFFF#000000##000000
##4781DF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#3B7CDD
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4781df;
/* rgb */ color: rgb(71, 129, 223);
/* oklch */ color: oklch(61.0% 0.155 259.6);
Tailwind
colors: {
  custom: {
    50: '#8aa5e9',
    500: '#4781df',
    950: '#000000',
  },
}
SCSS
$custom: #4781df;
$custom-light: #8aa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4781df",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 217.105,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61047,
    "c": 0.15543,
    "h": 259.6
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#4781DF
secondary
#DFC8A2
accent
#A93BED
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4781DF

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

Preview Lab → · Contrast checker → · Palette generator →

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