Skip to content

#508cd4

a balanced, vivid blue · cool · closest name: Dodger Blue

RGB
80, 140, 212
HSL
213°, 61%, 57%
CMYK
62, 34, 0, 17
Luminance
0.2522

At a glance

Every number on this page in one read: what #508cd4 is made of, how bright it looks, and which way it leans.

Hex
#508cd4
Hue
213°
blue
Saturation
61%
vivid
Lightness
57%
balanced
Brightness
83%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2522
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.04:1
Closest name
Dodger Blue
ΔE2000 4.2
Where it sits
Hue213° of 360°
Saturation61%
Lightness57%
Temperature
Warm ← → Cool98% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#508cd4
RGBrgb(80, 140, 212)
HSLhsl(213, 61%, 57%)
CMYKcmyk(62%, 34%, 0%, 17%)
LABlab(57.3 2.6 -42.8)
LCHlch(57.3 42.9 273.5)
OKLCHoklch(0.632 0.126 254.1)
Decimal5278932
Display P3color(display-p3 0.314 0.549 0.831)

Copy-ready code

/* CSS */
color: #508cd4;
background-color: #508cd4;
/* Tailwind (arbitrary) */
class="text-[#508cd4] bg-[#508cd4]"
/* SCSS */
$brand: #508cd4;
/* SwiftUI */
Color(red: 0.314, green: 0.549, blue: 0.831)
/* Android */
Color.parseColor("#508cd4")
/* Flutter */
Color(0xFF508CD4)
/* Python / OpenCV (BGR) */
(212, 140, 80)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #508cd4 · 6.04:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.48:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.04:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #508cd4 as text scores 3.48:1 on white and 6.04:1 on black.

Accessibility — WCAG contrast

Aa
#508cd4 on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#508cd4 on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6D90D7
deuteranopia · #5B84D3
tritanopia · #009DA6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #508cd4 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F7FB
#E8EFF7
#CCDCF0
#A5C4E9
#78A6DE
#508cd4
#3074C5
#2860A4
#204D83
#1B3A5F
#11243C
Base = 500Lightest = 50 · #F4F7FBDarkest = 950 · #11243C
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E8EFF7;
  --brand-200: #CCDCF0;
  --brand-300: #A5C4E9;
  --brand-400: #78A6DE;
  --brand-500: #508cd4;
  --brand-600: #3074C5;
  --brand-700: #2860A4;
  --brand-800: #204D83;
  --brand-900: #1B3A5F;
  --brand-950: #11243C;
  --brand: #508cd4;
  --brand-ink: #000000;
}

Colors that work with #508cd4

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F7FA
Tinted page background
Border#C0D4ED
Hairlines and dividers
Muted text#4B6F9B
Captions on the surface
Accent#A74B25
Second voice, not a rival
Dark variant#193C66
Hover, pressed, headers
Light variant#EBF2FA
Selected rows, tints
Dark surface#141B24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #508cd4

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#D49850
Analogous left#50CED4
Analogous right#5650D4
Split-complement 1#D45650
Split-complement 2#CED450
Triadic 1#D4508C
Triadic 2#8CD450
Tetradic#D450CE

RGB percentages

Red31.4%
Green54.9%
Blue83.1%

CMYK percentages

Cyan62.3%
Magenta34.0%
Yellow0.0%
Key (black)16.9%

Color previews

#508cd4 text on a black background

contrast 6.04:1

Card sample

#508cd4 text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #508cd4;
Background color
Panel with #508cd4 background
background-color: #508cd4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #508cd4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 140, 212, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 140, 212, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508cd4;
background: linear-gradient(135deg, #508cd4, #6C50D4);

Monochromatic scale

Palettes built from #508cd4

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#508cd4 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#508cd4, answered

What color is #508cd4?

#508cd4 is a balanced vivid blue, closest to Dodger Blue (ΔE2000 4.2). It sits at 213° on the hue wheel with 61% saturation and 57% lightness, which reads as cool.

What is the RGB value of #508cd4?

rgb(80, 140, 212) — 80 red, 140 green and 212 blue out of 255, or 31.4% / 54.9% / 83.1% by channel.

Is #508cd4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2522 and perceived brightness is 53%, so black text on it reaches 6.04:1.

Should I use black or white text on #508cd4?

Black. It scores 6.04:1 against #508cd4, versus 3.48:1 for white — AA at any size.

What is the complementary color of #508cd4?

#D49850 sits directly opposite on the wheel. Softer options are the split-complements #D45650 and #CED450, which give the same contrast with far less vibration.

What colors go well with #508cd4?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6F9B for secondary text, #A74B25 as an accent and #193C66 for hover and pressed states. For a palette, the analogous pair #50CED4 and #5650D4 stays calm, while #D49850 is the loudest partner.

What is #508cd4 in CMYK for printing?

cmyk(62%, 34%, 0%, 17%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #508cd4 warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #505CD4; nudged cooler, #3980D2.

Work with #508cd4 in the Color Lab