Skip to content

#3064df

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

RGB
48, 100, 223
HSL
222°, 73%, 53%
CMYK
79, 55, 0, 13
Luminance
0.1507

At a glance

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

Hex
#3064df
Hue
222°
blue
Saturation
73%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1507
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.23:1
Closest name
Royal Blue
ΔE2000 2.2
Where it sits
Hue222° of 360°
Saturation73%
Lightness53%
Temperature
Warm ← → Cool93% 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#3064df
RGBrgb(48, 100, 223)
HSLhsl(222, 73%, 53%)
CMYKcmyk(79%, 55%, 0%, 13%)
LABlab(45.7 26.8 -67.6)
LCHlch(45.7 72.7 291.6)
OKLCHoklch(0.542 0.196 263.8)
Decimal3171551
Display P3color(display-p3 0.188 0.392 0.875)

Copy-ready code

/* CSS */
color: #3064df;
background-color: #3064df;
/* Tailwind (arbitrary) */
class="text-[#3064df] bg-[#3064df]"
/* SCSS */
$brand: #3064df;
/* SwiftUI */
Color(red: 0.188, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#3064df")
/* Flutter */
Color(0xFF3064DF)
/* Python / OpenCV (BGR) */
(223, 100, 48)

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

Accessibility — WCAG contrast

Aa
#3064df on white: 5.23:1
AA ✓ pass · AA-large · AAA
Aa
#3064df on black: 4.01:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0075E3
deuteranopia · #0065DD
tritanopia · #008398

Color scale — 50 to 950

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

#F3F6FC
#E7ECF8
#C8D5F3
#9EB6F0
#6D92E8
#3064df
#2156D4
#1B48B1
#16398D
#142C66
#0C1C40
Base = 500Lightest = 50 · #F3F6FCDarkest = 950 · #0C1C40
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7ECF8;
  --brand-200: #C8D5F3;
  --brand-300: #9EB6F0;
  --brand-400: #6D92E8;
  --brand-500: #3064df;
  --brand-600: #2156D4;
  --brand-700: #1B48B1;
  --brand-800: #16398D;
  --brand-900: #142C66;
  --brand-950: #0C1C40;
  --brand: #3064df;
  --brand-ink: #ffffff;
}

Colors that work with #3064df

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#C0CDED
Hairlines and dividers
Muted text#4B629B
Captions on the surface
Accent#B55F17
Second voice, not a rival
Dark variant#112D6E
Hover, pressed, headers
Light variant#E9EEFC
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 #3064df

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#DFAB30
Analogous left#30BBDF
Analogous right#5330DF
Split-complement 1#DF5330
Split-complement 2#BBDF30
Triadic 1#DF3064
Triadic 2#64DF30
Tetradic#DF30BB

RGB percentages

Red18.8%
Green39.2%
Blue87.5%

CMYK percentages

Cyan78.5%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#3064df text on a black background

contrast 4.01:1

Card sample

#3064df text on a white background

contrast 5.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3064df

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.

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

#3064df, answered

What color is #3064df?

#3064df is a balanced vivid blue, closest to Royal Blue (ΔE2000 2.2). It sits at 222° on the hue wheel with 73% saturation and 53% lightness, which reads as cool.

What is the RGB value of #3064df?

rgb(48, 100, 223) — 48 red, 100 green and 223 blue out of 255, or 18.8% / 39.2% / 87.5% by channel.

Is #3064df a light or a dark color?

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

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

White. It scores 5.23:1 against #3064df, versus 4.01:1 for black — AA at any size.

What is the complementary color of #3064df?

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

What colors go well with #3064df?

For interface work: #F4F6FA as the surface, #C0CDED for borders, #4B629B for secondary text, #B55F17 as an accent and #112D6E for hover and pressed states. For a palette, the analogous pair #30BBDF and #5330DF stays calm, while #DFAB30 is the loudest partner.

What is #3064df in CMYK for printing?

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

Is #3064df warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3C30DF; nudged cooler, #1E66D7.

Work with #3064df in the Color Lab