Skip to content

#4d65da

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

RGB
77, 101, 218
HSL
230°, 66%, 58%
CMYK
65, 54, 0, 15
Luminance
0.1595

At a glance

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

Hex
#4d65da
Hue
230°
blue
Saturation
66%
vivid
Lightness
58%
balanced
Brightness
85%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1595
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.01:1
Closest name
Royal Blue
ΔE2000 2.3
Where it sits
Hue230° of 360°
Saturation66%
Lightness58%
Temperature
Warm ← → Cool89% 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#4d65da
RGBrgb(77, 101, 218)
HSLhsl(230, 66%, 58%)
CMYKcmyk(65%, 54%, 0%, 15%)
LABlab(46.9 28.1 -62.8)
LCHlch(46.9 68.8 294.1)
OKLCHoklch(0.553 0.180 270.7)
Decimal5072346
Display P3color(display-p3 0.302 0.396 0.855)

Copy-ready code

/* CSS */
color: #4d65da;
background-color: #4d65da;
/* Tailwind (arbitrary) */
class="text-[#4d65da] bg-[#4d65da]"
/* SCSS */
$brand: #4d65da;
/* SwiftUI */
Color(red: 0.302, green: 0.396, blue: 0.855)
/* Android */
Color.parseColor("#4d65da")
/* Flutter */
Color(0xFF4D65DA)
/* Python / OpenCV (BGR) */
(218, 101, 77)

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#ffffff on #4d65da · 5.01:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.01:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.19:1
AA fail · AA large pass · AAA fail
Reading the other direction: #4d65da as text scores 5.01:1 on white and 4.19:1 on black.

Accessibility — WCAG contrast

Aa
#4d65da on white: 5.01:1
AA ✓ pass · AA-large · AAA
Aa
#4d65da on black: 4.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0F76DE
deuteranopia · #0069D8
tritanopia · #008196

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4d65da 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.

#F3F5FB
#E8EBF8
#CBD1F1
#A2AFEC
#7486E2
#4d65da
#2A45CB
#233AA9
#1C2E87
#182562
#0F173D
Base = 500Lightest = 50 · #F3F5FBDarkest = 950 · #0F173D
:root {
  --brand-50: #F3F5FB;
  --brand-100: #E8EBF8;
  --brand-200: #CBD1F1;
  --brand-300: #A2AFEC;
  --brand-400: #7486E2;
  --brand-500: #4d65da;
  --brand-600: #2A45CB;
  --brand-700: #233AA9;
  --brand-800: #1C2E87;
  --brand-900: #182562;
  --brand-950: #0F173D;
  --brand: #4d65da;
  --brand-ink: #ffffff;
}

Colors that work with #4d65da

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

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C7ED
Hairlines and dividers
Muted text#4B589B
Captions on the surface
Accent#AD711F
Second voice, not a rival
Dark variant#16246A
Hover, pressed, headers
Light variant#EAEDFB
Selected rows, tints
Dark surface#141624
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 #4d65da

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#DAC24D
Analogous left#4DABDA
Analogous right#7B4DDA
Split-complement 1#DA7B4D
Split-complement 2#ABDA4D
Triadic 1#DA4D65
Triadic 2#65DA4D
Tetradic#DA4DAB

RGB percentages

Red30.2%
Green39.6%
Blue85.5%

CMYK percentages

Cyan64.7%
Magenta53.7%
Yellow0.0%
Key (black)14.5%

Color previews

#4d65da text on a black background

contrast 4.19:1

Card sample

#4d65da text on a white background

contrast 5.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4d65da;
Background color
Panel with #4d65da background
background-color: #4d65da;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4d65da;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(77, 101, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 101, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4d65da;
background: linear-gradient(135deg, #4d65da, #934DDA);

Monochromatic scale

Palettes built from #4d65da

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.

#4d65da 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.

#4d65da, answered

What color is #4d65da?

#4d65da is a balanced vivid blue, closest to Royal Blue (ΔE2000 2.3). It sits at 230° on the hue wheel with 66% saturation and 58% lightness, which reads as cool.

What is the RGB value of #4d65da?

rgb(77, 101, 218) — 77 red, 101 green and 218 blue out of 255, or 30.2% / 39.6% / 85.5% by channel.

Is #4d65da a light or a dark color?

It is a dark color. Relative luminance is 0.1595 and perceived brightness is 45%, so white text on it reaches 5.01:1.

Should I use black or white text on #4d65da?

White. It scores 5.01:1 against #4d65da, versus 4.19:1 for black — AA at any size.

What is the complementary color of #4d65da?

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

What colors go well with #4d65da?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B589B for secondary text, #AD711F as an accent and #16246A for hover and pressed states. For a palette, the analogous pair #4DABDA and #7B4DDA stays calm, while #DAC24D is the loudest partner.

What is #4d65da in CMYK for printing?

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

Is #4d65da warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #694DDA; nudged cooler, #4B7DDC.

Work with #4d65da in the Color Lab