Skip to content

#2863df

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

RGB
40, 99, 223
HSL
221°, 74%, 52%
CMYK
82, 56, 0, 13
Luminance
0.1470

At a glance

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

Hex
#2863df
Hue
221°
blue
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1470
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.33:1
Closest name
Royal Blue
ΔE2000 2.8
Where it sits
Hue221° of 360°
Saturation74%
Lightness52%
Temperature
Warm ← → Cool94% 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#2863df
RGBrgb(40, 99, 223)
HSLhsl(221, 74%, 52%)
CMYKcmyk(82%, 56%, 0%, 13%)
LABlab(45.2 26.7 -68.4)
LCHlch(45.2 73.4 291.3)
OKLCHoklch(0.537 0.199 262.6)
Decimal2647007
Display P3color(display-p3 0.157 0.388 0.875)

Copy-ready code

/* CSS */
color: #2863df;
background-color: #2863df;
/* Tailwind (arbitrary) */
class="text-[#2863df] bg-[#2863df]"
/* SCSS */
$brand: #2863df;
/* SwiftUI */
Color(red: 0.157, green: 0.388, blue: 0.875)
/* Android */
Color.parseColor("#2863df")
/* Flutter */
Color(0xFF2863DF)
/* Python / OpenCV (BGR) */
(223, 99, 40)

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

Accessibility — WCAG contrast

Aa
#2863df on white: 5.33:1
AA ✓ pass · AA-large · AAA
Aa
#2863df on black: 3.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0074E3
deuteranopia · #0063DD
tritanopia · #008297

Color scale — 50 to 950

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

#F3F6FC
#E7EDF9
#C8D6F3
#9DB8F0
#6C95E9
#3C71E2
#2863df
#1A4BB2
#153C8E
#132E67
#0C1D40
Base = 600Lightest = 50 · #F3F6FCDarkest = 950 · #0C1D40
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7EDF9;
  --brand-200: #C8D6F3;
  --brand-300: #9DB8F0;
  --brand-400: #6C95E9;
  --brand-500: #3C71E2;
  --brand-600: #2863df;
  --brand-700: #1A4BB2;
  --brand-800: #153C8E;
  --brand-900: #132E67;
  --brand-950: #0C1D40;
  --brand: #2863df;
  --brand-ink: #ffffff;
}

Colors that work with #2863df

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#C0CEED
Hairlines and dividers
Muted text#4B649B
Captions on the surface
Accent#B65B16
Second voice, not a rival
Dark variant#112F6F
Hover, pressed, headers
Light variant#E9EFFC
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 #2863df

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#DFA428
Analogous left#28BEDF
Analogous right#4928DF
Split-complement 1#DF4928
Split-complement 2#BEDF28
Triadic 1#DF2863
Triadic 2#63DF28
Tetradic#DF28BE

RGB percentages

Red15.7%
Green38.8%
Blue87.5%

CMYK percentages

Cyan82.1%
Magenta55.6%
Yellow0.0%
Key (black)12.5%

Color previews

#2863df text on a black background

contrast 3.94:1

Card sample

#2863df text on a white background

contrast 5.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2863df;
Background color
Panel with #2863df background
background-color: #2863df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 99, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 99, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2863df;
background: linear-gradient(135deg, #2863df, #6728DF);

Monochromatic scale

Palettes built from #2863df

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.

#2863df 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.

#2863df, answered

What color is #2863df?

#2863df is a balanced vivid blue, closest to Royal Blue (ΔE2000 2.8). It sits at 221° on the hue wheel with 74% saturation and 52% lightness, which reads as cool.

What is the RGB value of #2863df?

rgb(40, 99, 223) — 40 red, 99 green and 223 blue out of 255, or 15.7% / 38.8% / 87.5% by channel.

Is #2863df a light or a dark color?

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

Should I use black or white text on #2863df?

White. It scores 5.33:1 against #2863df, versus 3.94:1 for black — AA at any size.

What is the complementary color of #2863df?

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

What colors go well with #2863df?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #B65B16 as an accent and #112F6F for hover and pressed states. For a palette, the analogous pair #28BEDF and #4928DF stays calm, while #DFA428 is the loudest partner.

What is #2863df in CMYK for printing?

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

Is #2863df warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3028DF; nudged cooler, #1C64D1.

Work with #2863df in the Color Lab