Skip to content

#2c64ce

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

RGB
44, 100, 206
HSL
219°, 65%, 49%
CMYK
79, 52, 0, 19
Luminance
0.1411

At a glance

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

Hex
#2c64ce
Hue
219°
blue
Saturation
65%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1411
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.50:1
Closest name
Royal Blue
ΔE2000 4
Where it sits
Hue219° of 360°
Saturation65%
Lightness49%
Temperature
Warm ← → Cool95% 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#2c64ce
RGBrgb(44, 100, 206)
HSLhsl(219, 65%, 49%)
CMYKcmyk(79%, 52%, 0%, 19%)
LABlab(44.4 20.0 -60.1)
LCHlch(44.4 63.3 288.4)
OKLCHoklch(0.527 0.175 261.6)
Decimal2909390
Display P3color(display-p3 0.173 0.392 0.808)

Copy-ready code

/* CSS */
color: #2c64ce;
background-color: #2c64ce;
/* Tailwind (arbitrary) */
class="text-[#2c64ce] bg-[#2c64ce]"
/* SCSS */
$brand: #2c64ce;
/* SwiftUI */
Color(red: 0.173, green: 0.392, blue: 0.808)
/* Android */
Color.parseColor("#2c64ce")
/* Flutter */
Color(0xFF2C64CE)
/* Python / OpenCV (BGR) */
(206, 100, 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 #2c64ce · 5.50:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.50:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.82:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2c64ce as text scores 5.50:1 on white and 3.82:1 on black.

Accessibility — WCAG contrast

Aa
#2c64ce on white: 5.50:1
AA ✓ pass · AA-large · AAA
Aa
#2c64ce on black: 3.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1C71D2
deuteranopia · #0062CC
tritanopia · #007E8F

Color scale — 50 to 950

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

#F3F6FB
#E8EDF7
#CBD8F1
#A3BCEB
#749AE1
#4678D8
#2c64ce
#2452A8
#1D4186
#193262
#0F1F3D
Base = 600Lightest = 50 · #F3F6FBDarkest = 950 · #0F1F3D
:root {
  --brand-50: #F3F6FB;
  --brand-100: #E8EDF7;
  --brand-200: #CBD8F1;
  --brand-300: #A3BCEB;
  --brand-400: #749AE1;
  --brand-500: #4678D8;
  --brand-600: #2c64ce;
  --brand-700: #2452A8;
  --brand-800: #1D4186;
  --brand-900: #193262;
  --brand-950: #0F1F3D;
  --brand: #2c64ce;
  --brand-ink: #ffffff;
}

Colors that work with #2c64ce

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#C0CFED
Hairlines and dividers
Muted text#4B669B
Captions on the surface
Accent#D36D27
Second voice, not a rival
Dark variant#163369
Hover, pressed, headers
Light variant#EAF0FB
Selected rows, tints
Dark surface#141924
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 #2c64ce

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#CE962C
Analogous left#2CB5CE
Analogous right#452CCE
Split-complement 1#CE452C
Split-complement 2#B5CE2C
Triadic 1#CE2C64
Triadic 2#64CE2C
Tetradic#CE2CB5

RGB percentages

Red17.3%
Green39.2%
Blue80.8%

CMYK percentages

Cyan78.6%
Magenta51.5%
Yellow0.0%
Key (black)19.2%

Color previews

#2c64ce text on a black background

contrast 3.82:1

Card sample

#2c64ce text on a white background

contrast 5.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 100, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 100, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c64ce;
background: linear-gradient(135deg, #2c64ce, #602CCE);

Monochromatic scale

Palettes built from #2c64ce

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.

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

#2c64ce, answered

What color is #2c64ce?

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

What is the RGB value of #2c64ce?

rgb(44, 100, 206) — 44 red, 100 green and 206 blue out of 255, or 17.3% / 39.2% / 80.8% by channel.

Is #2c64ce a light or a dark color?

It is a dark color. Relative luminance is 0.1411 and perceived brightness is 42%, so white text on it reaches 5.50:1.

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

White. It scores 5.50:1 against #2c64ce, versus 3.82:1 for black — AA at any size.

What is the complementary color of #2c64ce?

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

What colors go well with #2c64ce?

For interface work: #F4F6FA as the surface, #C0CFED for borders, #4B669B for secondary text, #D36D27 as an accent and #163369 for hover and pressed states. For a palette, the analogous pair #2CB5CE and #452CCE stays calm, while #CE962C is the loudest partner.

What is #2c64ce in CMYK for printing?

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

Is #2c64ce warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2F2CCE; nudged cooler, #2563BB.

Work with #2c64ce in the Color Lab