Skip to content

#156ccf

a dark, electric blue · cool · closest name: Royal Blue

RGB
21, 108, 207
HSL
212°, 82%, 45%
CMYK
90, 48, 0, 19
Luminance
0.1539

At a glance

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

Hex
#156ccf
Hue
212°
blue
Saturation
82%
electric
Lightness
45%
dark
Brightness
81%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1539
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.15:1
Closest name
Royal Blue
ΔE2000 5.9
Where it sits
Hue212° of 360°
Saturation82%
Lightness45%
Temperature
Warm ← → Cool99% 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#156ccf
RGBrgb(21, 108, 207)
HSLhsl(212, 82%, 45%)
CMYKcmyk(90%, 48%, 0%, 19%)
LABlab(46.2 13.4 -57.8)
LCHlch(46.2 59.3 283.0)
OKLCHoklch(0.540 0.172 255.9)
Decimal1404111
Display P3color(display-p3 0.082 0.424 0.812)

Copy-ready code

/* CSS */
color: #156ccf;
background-color: #156ccf;
/* Tailwind (arbitrary) */
class="text-[#156ccf] bg-[#156ccf]"
/* SCSS */
$brand: #156ccf;
/* SwiftUI */
Color(red: 0.082, green: 0.424, blue: 0.812)
/* Android */
Color.parseColor("#156ccf")
/* Flutter */
Color(0xFF156CCF)
/* Python / OpenCV (BGR) */
(207, 108, 21)

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

Accessibility — WCAG contrast

Aa
#156ccf on white: 5.15:1
AA ✓ pass · AA-large · AAA
Aa
#156ccf on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3176D3
deuteranopia · #0066CD
tritanopia · #008493

Color scale — 50 to 950

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

#F2F7FC
#E6EFF9
#C6DCF6
#99C4F5
#66A7F0
#3389EA
#156ccf
#1361B9
#0F4D94
#0F3A6B
#0A2443
Base = 600Lightest = 50 · #F2F7FCDarkest = 950 · #0A2443
:root {
  --brand-50: #F2F7FC;
  --brand-100: #E6EFF9;
  --brand-200: #C6DCF6;
  --brand-300: #99C4F5;
  --brand-400: #66A7F0;
  --brand-500: #3389EA;
  --brand-600: #156ccf;
  --brand-700: #1361B9;
  --brand-800: #0F4D94;
  --brand-900: #0F3A6B;
  --brand-950: #0A2443;
  --brand: #156ccf;
  --brand-ink: #ffffff;
}

Colors that work with #156ccf

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#C0D5ED
Hairlines and dividers
Muted text#4B709B
Captions on the surface
Accent#D44710
Second voice, not a rival
Dark variant#0C3C74
Hover, pressed, headers
Light variant#E8F2FD
Selected rows, tints
Dark surface#141C24
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 #156ccf

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#CF7815
Analogous left#15C9CF
Analogous right#1B15CF
Split-complement 1#CF1B15
Split-complement 2#C9CF15
Triadic 1#CF156C
Triadic 2#6CCF15
Tetradic#CF15C9

RGB percentages

Red8.2%
Green42.4%
Blue81.2%

CMYK percentages

Cyan89.9%
Magenta47.8%
Yellow0.0%
Key (black)18.8%

Color previews

#156ccf text on a black background

contrast 4.08:1

Card sample

#156ccf text on a white background

contrast 5.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #156ccf;
Background color
Panel with #156ccf background
background-color: #156ccf;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(21, 108, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(21, 108, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #156ccf;
background: linear-gradient(135deg, #156ccf, #3A15CF);

Monochromatic scale

Palettes built from #156ccf

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.

#156ccf 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#156ccf, answered

What color is #156ccf?

#156ccf is a dark electric blue, closest to Royal Blue (ΔE2000 5.9). It sits at 212° on the hue wheel with 82% saturation and 45% lightness, which reads as cool.

What is the RGB value of #156ccf?

rgb(21, 108, 207) — 21 red, 108 green and 207 blue out of 255, or 8.2% / 42.4% / 81.2% by channel.

Is #156ccf a light or a dark color?

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

Should I use black or white text on #156ccf?

White. It scores 5.15:1 against #156ccf, versus 4.08:1 for black — AA at any size.

What is the complementary color of #156ccf?

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

What colors go well with #156ccf?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B709B for secondary text, #D44710 as an accent and #0C3C74 for hover and pressed states. For a palette, the analogous pair #15C9CF and #1B15CF stays calm, while #CF7815 is the loudest partner.

What is #156ccf in CMYK for printing?

cmyk(90%, 48%, 0%, 19%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #156ccf warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1528CF; nudged cooler, #1160BA.

Work with #156ccf in the Color Lab