Skip to content

#306abc

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

RGB
48, 106, 188
HSL
215°, 59%, 46%
CMYK
75, 44, 0, 26
Luminance
0.1457

At a glance

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

Hex
#306abc
Hue
215°
blue
Saturation
59%
vivid
Lightness
46%
balanced
Brightness
74%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1457
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.37:1
Closest name
Royal Blue
ΔE2000 6.1
Where it sits
Hue215° of 360°
Saturation59%
Lightness46%
Temperature
Warm ← → Cool97% 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#306abc
RGBrgb(48, 106, 188)
HSLhsl(215, 59%, 46%)
CMYKcmyk(75%, 44%, 0%, 26%)
LABlab(45.0 9.8 -48.6)
LCHlch(45.0 49.6 281.4)
OKLCHoklch(0.529 0.142 257.6)
Decimal3173052
Display P3color(display-p3 0.188 0.416 0.737)

Copy-ready code

/* CSS */
color: #306abc;
background-color: #306abc;
/* Tailwind (arbitrary) */
class="text-[#306abc] bg-[#306abc]"
/* SCSS */
$brand: #306abc;
/* SwiftUI */
Color(red: 0.188, green: 0.416, blue: 0.737)
/* Android */
Color.parseColor("#306abc")
/* Flutter */
Color(0xFF306ABC)
/* Python / OpenCV (BGR) */
(188, 106, 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 #306abc · 5.37:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.37:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.91:1
AA fail · AA large pass · AAA fail
Reading the other direction: #306abc as text scores 5.37:1 on white and 3.91:1 on black.

Accessibility — WCAG contrast

Aa
#306abc on white: 5.37:1
AA ✓ pass · AA-large · AAA
Aa
#306abc on black: 3.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4171BF
deuteranopia · #2765BA
tritanopia · #007D8A

Color scale — 50 to 950

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

#F4F7FB
#E9EEF7
#CDDBEF
#A6C1E8
#79A2DD
#4C83D1
#306abc
#2A5CA2
#214982
#1C385F
#11233B
Base = 600Lightest = 50 · #F4F7FBDarkest = 950 · #11233B
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E9EEF7;
  --brand-200: #CDDBEF;
  --brand-300: #A6C1E8;
  --brand-400: #79A2DD;
  --brand-500: #4C83D1;
  --brand-600: #306abc;
  --brand-700: #2A5CA2;
  --brand-800: #214982;
  --brand-900: #1C385F;
  --brand-950: #11233B;
  --brand: #306abc;
  --brand-ink: #ffffff;
}

Colors that work with #306abc

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#F4F7FA
Tinted page background
Border#C0D2ED
Hairlines and dividers
Muted text#4B6C9B
Captions on the surface
Accent#C15D2B
Second voice, not a rival
Dark variant#1A3966
Hover, pressed, headers
Light variant#EBF1FA
Selected rows, tints
Dark surface#141B24
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 #306abc

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#BC8230
Analogous left#30B0BC
Analogous right#3C30BC
Split-complement 1#BC3C30
Split-complement 2#B0BC30
Triadic 1#BC306A
Triadic 2#6ABC30
Tetradic#BC30B0

RGB percentages

Red18.8%
Green41.6%
Blue73.7%

CMYK percentages

Cyan74.5%
Magenta43.6%
Yellow0.0%
Key (black)26.3%

Color previews

#306abc text on a black background

contrast 3.91:1

Card sample

#306abc text on a white background

contrast 5.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #306abc;
Background color
Panel with #306abc background
background-color: #306abc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(48, 106, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 106, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #306abc;
background: linear-gradient(135deg, #306abc, #5330BC);

Monochromatic scale

Palettes built from #306abc

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.

#306abc 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.

#306abc, answered

What color is #306abc?

#306abc is a balanced vivid blue, closest to Royal Blue (ΔE2000 6.1). It sits at 215° on the hue wheel with 59% saturation and 46% lightness, which reads as cool.

What is the RGB value of #306abc?

rgb(48, 106, 188) — 48 red, 106 green and 188 blue out of 255, or 18.8% / 41.6% / 73.7% by channel.

Is #306abc a light or a dark color?

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

Should I use black or white text on #306abc?

White. It scores 5.37:1 against #306abc, versus 3.91:1 for black — AA at any size.

What is the complementary color of #306abc?

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

What colors go well with #306abc?

For interface work: #F4F7FA as the surface, #C0D2ED for borders, #4B6C9B for secondary text, #C15D2B as an accent and #1A3966 for hover and pressed states. For a palette, the analogous pair #30B0BC and #3C30BC stays calm, while #BC8230 is the loudest partner.

What is #306abc in CMYK for printing?

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

Is #306abc warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3037BC; nudged cooler, #2962AA.

Work with #306abc in the Color Lab