Skip to content

#2755ff

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

RGB
39, 85, 255
HSL
227°, 100%, 58%
CMYK
85, 67, 0, 0
Luminance
0.1415

At a glance

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

Hex
#2755ff
Hue
227°
blue
Saturation
100%
electric
Lightness
58%
balanced
Brightness
100%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1415
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.48:1
Closest name
Royal Blue
ΔE2000 6.8
Where it sits
Hue227° of 360°
Saturation100%
Lightness58%
Temperature
Warm ← → Cool90% 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#2755ff
RGBrgb(39, 85, 255)
HSLhsl(227, 100%, 58%)
CMYKcmyk(85%, 67%, 0%, 0%)
LABlab(44.4 47.1 -87.7)
LCHlch(44.4 99.5 298.2)
OKLCHoklch(0.539 0.255 265.7)
Decimal2577919
Display P3color(display-p3 0.153 0.333 1.000)

Copy-ready code

/* CSS */
color: #2755ff;
background-color: #2755ff;
/* Tailwind (arbitrary) */
class="text-[#2755ff] bg-[#2755ff]"
/* SCSS */
$brand: #2755ff;
/* SwiftUI */
Color(red: 0.153, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#2755ff")
/* Flutter */
Color(0xFF2755FF)
/* Python / OpenCV (BGR) */
(255, 85, 39)

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

Accessibility — WCAG contrast

Aa
#2755ff on white: 5.48:1
AA ✓ pass · AA-large · AAA
Aa
#2755ff on black: 3.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0073FF
deuteranopia · #005FFC
tritanopia · #0084A3

Color scale — 50 to 950

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

#F1F4FE
#E3E9FC
#C0CDFC
#8FA7FF
#577BFF
#2755ff
#0034F5
#002CCC
#0023A3
#051D76
#031249
Base = 500Lightest = 50 · #F1F4FEDarkest = 950 · #031249
:root {
  --brand-50: #F1F4FE;
  --brand-100: #E3E9FC;
  --brand-200: #C0CDFC;
  --brand-300: #8FA7FF;
  --brand-400: #577BFF;
  --brand-500: #2755ff;
  --brand-600: #0034F5;
  --brand-700: #002CCC;
  --brand-800: #0023A3;
  --brand-900: #051D76;
  --brand-950: #031249;
  --brand: #2755ff;
  --brand-ink: #ffffff;
}

Colors that work with #2755ff

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#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5C9B
Captions on the surface
Accent#CC6D00
Second voice, not a rival
Dark variant#001B80
Hover, pressed, headers
Light variant#E5EBFF
Selected rows, tints
Dark surface#141724
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 #2755ff

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#FFD127
Analogous left#27C1FF
Analogous right#6527FF
Split-complement 1#FF6527
Split-complement 2#C1FF27
Triadic 1#FF2755
Triadic 2#55FF27
Tetradic#FF27C1

RGB percentages

Red15.3%
Green33.3%
Blue100.0%

CMYK percentages

Cyan84.7%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#2755ff text on a black background

contrast 3.83:1

Card sample

#2755ff text on a white background

contrast 5.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2755ff;
Background color
Panel with #2755ff background
background-color: #2755ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2755ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(39, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(39, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2755ff;
background: linear-gradient(135deg, #2755ff, #8927FF);

Monochromatic scale

Palettes built from #2755ff

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.

#2755ff 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#2755ff, answered

What color is #2755ff?

#2755ff is a balanced electric blue, closest to Royal Blue (ΔE2000 6.8). It sits at 227° on the hue wheel with 100% saturation and 58% lightness, which reads as cool.

What is the RGB value of #2755ff?

rgb(39, 85, 255) — 39 red, 85 green and 255 blue out of 255, or 15.3% / 33.3% / 100% by channel.

Is #2755ff a light or a dark color?

It is a dark color. Relative luminance is 0.1415 and perceived brightness is 43%, so white text on it reaches 5.48:1.

Should I use black or white text on #2755ff?

White. It scores 5.48:1 against #2755ff, versus 3.83:1 for black — AA at any size.

What is the complementary color of #2755ff?

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

What colors go well with #2755ff?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5C9B for secondary text, #CC6D00 as an accent and #001B80 for hover and pressed states. For a palette, the analogous pair #27C1FF and #6527FF stays calm, while #FFD127 is the loudest partner.

What is #2755ff in CMYK for printing?

cmyk(85%, 67%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #2755ff warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4827FF; nudged cooler, #276FFF.

Work with #2755ff in the Color Lab