#4785DE#4785DE

#4785DE is a mid, vivid blue. Relative luminance 0.234; OKLCH L 61.8% C 0.150 H 257.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4785DE
RGBrgb(71, 133, 222)
HSLhsl(215, 70%, 57%)
HSVhsv(215, 68%, 87%)
CMYKcmyk(68%, 40.1%, 0%, 12.9%)
CIE-LABlab(55.47, 8.71, -51.29)
CIE-LCHlch(55.47, 52.02, 279.63°)
OKLaboklab(61.85% -0.032 -0.1462)
OKLCHoklch(61.85% 0.15 257.7)
XYZxyz(24.1661, 23.3861, 72.3335)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4785DE #DEA047
analogous
#47D1DE #4785DE #5447DE
triadic
#4785DE #DE4785 #85DE47
tetradic
#4785DE #DE47D1 #DEA047 #47DE54
square
#4785DE #DE47D1 #DEA047 #47DE54
split-complementary
#4785DE #DE5447 #D1DE47
monochromatic
#1A4B91 #2365C5 #4785DE #7BA7E7 #AFCAF1

Accessibility & contrast

On white

3.70
#4785DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#4785DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4785DE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4785DE#FFFFFF#000000##000000
##4785DE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE2
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4785de;
/* rgb */ color: rgb(71, 133, 222);
/* oklch */ color: oklch(61.8% 0.150 257.7);
Tailwind
colors: {
  custom: {
    50: '#8aa8e9',
    500: '#4785de',
    950: '#000000',
  },
}
SCSS
$custom: #4785de;
$custom-light: #8aa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4785de",
  "rgb": {
    "r": 71,
    "g": 133,
    "b": 222
  },
  "hsl": {
    "h": 215.364,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61847,
    "c": 0.14969,
    "h": 257.7
  },
  "luminance": 0.23389
}

Semantic roles & 50–950 ramp

primary
#4785DE
secondary
#DFC6A2
accent
#A43BEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4785DE

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

Preview Lab → · Contrast checker → · Palette generator →

#4785DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva