Skip to content

#508cd7

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

RGB
80, 140, 215
HSL
213°, 63%, 58%
CMYK
63, 35, 0, 16
Luminance
0.2537

At a glance

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

Hex
#508cd7
Hue
213°
blue
Saturation
63%
vivid
Lightness
58%
balanced
Brightness
84%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2537
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.07:1
Closest name
Dodger Blue
ΔE2000 4.1
Where it sits
Hue213° of 360°
Saturation63%
Lightness58%
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#508cd7
RGBrgb(80, 140, 215)
HSLhsl(213, 63%, 58%)
CMYKcmyk(63%, 35%, 0%, 16%)
LABlab(57.4 3.6 -44.2)
LCHlch(57.4 44.4 274.7)
OKLCHoklch(0.634 0.130 254.9)
Decimal5278935
Display P3color(display-p3 0.314 0.549 0.843)

Copy-ready code

/* CSS */
color: #508cd7;
background-color: #508cd7;
/* Tailwind (arbitrary) */
class="text-[#508cd7] bg-[#508cd7]"
/* SCSS */
$brand: #508cd7;
/* SwiftUI */
Color(red: 0.314, green: 0.549, blue: 0.843)
/* Android */
Color.parseColor("#508cd7")
/* Flutter */
Color(0xFF508CD7)
/* Python / OpenCV (BGR) */
(215, 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 #508cd7 · 6.07:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.46:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.07:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #508cd7 as text scores 3.46:1 on white and 6.07:1 on black.

Accessibility — WCAG contrast

Aa
#508cd7 on white: 3.46:1
AA ✗ fail · AA-large · AAA
Aa
#508cd7 on black: 6.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6C91DA
deuteranopia · #5984D5
tritanopia · #009DA7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #508cd7 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
#A4C3EA
#76A5E0
#508cd7
#2E72C7
#265FA6
#1E4C85
#1A3961
#10243C
Base = 500Lightest = 50 · #F4F7FBDarkest = 950 · #10243C
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E8EFF7;
  --brand-200: #CCDCF0;
  --brand-300: #A4C3EA;
  --brand-400: #76A5E0;
  --brand-500: #508cd7;
  --brand-600: #2E72C7;
  --brand-700: #265FA6;
  --brand-800: #1E4C85;
  --brand-900: #1A3961;
  --brand-950: #10243C;
  --brand: #508cd7;
  --brand-ink: #000000;
}

Colors that work with #508cd7

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#4B6E9B
Captions on the surface
Accent#AA4B22
Second voice, not a rival
Dark variant#183B68
Hover, pressed, headers
Light variant#EAF1FA
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 #508cd7

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#D79B50
Analogous left#50D0D7
Analogous right#5750D7
Split-complement 1#D75750
Split-complement 2#D0D750
Triadic 1#D7508C
Triadic 2#8CD750
Tetradic#D750D0

RGB percentages

Red31.4%
Green54.9%
Blue84.3%

CMYK percentages

Cyan62.8%
Magenta34.9%
Yellow0.0%
Key (black)15.7%

Color previews

#508cd7 text on a black background

contrast 6.07:1

Card sample

#508cd7 text on a white background

contrast 3.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #508cd7

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.

#508cd7 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.

#508cd7, answered

What color is #508cd7?

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

What is the RGB value of #508cd7?

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

Is #508cd7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2537 and perceived brightness is 54%, so black text on it reaches 6.07:1.

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

Black. It scores 6.07:1 against #508cd7, versus 3.46:1 for white — AA at any size.

What is the complementary color of #508cd7?

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

What colors go well with #508cd7?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6E9B for secondary text, #AA4B22 as an accent and #183B68 for hover and pressed states. For a palette, the analogous pair #50D0D7 and #5750D7 stays calm, while #D79B50 is the loudest partner.

What is #508cd7 in CMYK for printing?

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

Is #508cd7 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 #505AD7; nudged cooler, #3980D5.

Work with #508cd7 in the Color Lab