Skip to content

#2c55cf

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

RGB
44, 85, 207
HSL
225°, 65%, 49%
CMYK
79, 59, 0, 19
Luminance
0.1154

At a glance

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

Hex
#2c55cf
Hue
225°
blue
Saturation
65%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1154
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.35:1
Closest name
Royal Blue
ΔE2000 7.1
Where it sits
Hue225° of 360°
Saturation65%
Lightness49%
Temperature
Warm ← → Cool92% 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#2c55cf
RGBrgb(44, 85, 207)
HSLhsl(225, 65%, 49%)
CMYKcmyk(79%, 59%, 0%, 19%)
LABlab(40.5 30.0 -67.0)
LCHlch(40.5 73.4 294.1)
OKLCHoklch(0.498 0.194 265.5)
Decimal2905551
Display P3color(display-p3 0.173 0.333 0.812)

Copy-ready code

/* CSS */
color: #2c55cf;
background-color: #2c55cf;
/* Tailwind (arbitrary) */
class="text-[#2c55cf] bg-[#2c55cf]"
/* SCSS */
$brand: #2c55cf;
/* SwiftUI */
Color(red: 0.173, green: 0.333, blue: 0.812)
/* Android */
Color.parseColor("#2c55cf")
/* Flutter */
Color(0xFF2C55CF)
/* Python / OpenCV (BGR) */
(207, 85, 44)

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

Accessibility — WCAG contrast

Aa
#2c55cf on white: 6.35:1
AA ✓ pass · AA-large · AAA
Aa
#2c55cf on black: 3.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067D3
deuteranopia · #0058CD
tritanopia · #00748A

Color scale — 50 to 950

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

#F3F5FB
#E8ECF7
#CBD4F1
#A2B5EB
#7490E1
#466BD8
#2c55cf
#2445A8
#1D3787
#192B62
#0F1B3D
Base = 600Lightest = 50 · #F3F5FBDarkest = 950 · #0F1B3D
:root {
  --brand-50: #F3F5FB;
  --brand-100: #E8ECF7;
  --brand-200: #CBD4F1;
  --brand-300: #A2B5EB;
  --brand-400: #7490E1;
  --brand-500: #466BD8;
  --brand-600: #2c55cf;
  --brand-700: #2445A8;
  --brand-800: #1D3787;
  --brand-900: #192B62;
  --brand-950: #0F1B3D;
  --brand: #2c55cf;
  --brand-ink: #ffffff;
}

Colors that work with #2c55cf

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#C0CBED
Hairlines and dividers
Muted text#4B5F9B
Captions on the surface
Accent#AC6620
Second voice, not a rival
Dark variant#162B69
Hover, pressed, headers
Light variant#EAEEFB
Selected rows, tints
Dark surface#141824
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 #2c55cf

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#CFA62C
Analogous left#2CA6CF
Analogous right#542CCF
Split-complement 1#CF542C
Split-complement 2#A6CF2C
Triadic 1#CF2C55
Triadic 2#55CF2C
Tetradic#CF2CA6

RGB percentages

Red17.3%
Green33.3%
Blue81.2%

CMYK percentages

Cyan78.7%
Magenta58.9%
Yellow0.0%
Key (black)18.8%

Color previews

#2c55cf text on a black background

contrast 3.31:1

Card sample

#2c55cf text on a white background

contrast 6.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2c55cf;
Background color
Panel with #2c55cf background
background-color: #2c55cf;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 85, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 85, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c55cf;
background: linear-gradient(135deg, #2c55cf, #702CCF);

Monochromatic scale

Palettes built from #2c55cf

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.

#2c55cf 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.

#2c55cf, answered

What color is #2c55cf?

#2c55cf is a balanced vivid blue, closest to Royal Blue (ΔE2000 7.1). It sits at 225° on the hue wheel with 65% saturation and 49% lightness, which reads as cool.

What is the RGB value of #2c55cf?

rgb(44, 85, 207) — 44 red, 85 green and 207 blue out of 255, or 17.3% / 33.3% / 81.2% by channel.

Is #2c55cf a light or a dark color?

It is a dark color. Relative luminance is 0.1154 and perceived brightness is 39%, so white text on it reaches 6.35:1.

Should I use black or white text on #2c55cf?

White. It scores 6.35:1 against #2c55cf, versus 3.31:1 for black — AA at any size.

What is the complementary color of #2c55cf?

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

What colors go well with #2c55cf?

For interface work: #F4F6FA as the surface, #C0CBED for borders, #4B5F9B for secondary text, #AC6620 as an accent and #162B69 for hover and pressed states. For a palette, the analogous pair #2CA6CF and #542CCF stays calm, while #CFA62C is the loudest partner.

What is #2c55cf in CMYK for printing?

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

Is #2c55cf warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3F2CCF; nudged cooler, #2A68D1.

Work with #2c55cf in the Color Lab