Skip to content

#005abc

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

RGB
0, 90, 188
HSL
211°, 100%, 37%
CMYK
100, 52, 0, 26
Luminance
0.1094

At a glance

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

Hex
#005abc
Hue
211°
blue
Saturation
100%
electric
Lightness
37%
dark
Brightness
74%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1094
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.59:1
Closest name
Royal Blue
ΔE2000 8.5
Where it sits
Hue211° of 360°
Saturation100%
Lightness37%
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#005abc
RGBrgb(0, 90, 188)
HSLhsl(211, 100%, 37%)
CMYKcmyk(100%, 52%, 0%, 26%)
LABlab(39.5 16.7 -57.6)
LCHlch(39.5 60.0 286.1)
OKLCHoklch(0.483 0.171 256.9)
Decimal23228
Display P3color(display-p3 0.000 0.353 0.737)

Copy-ready code

/* CSS */
color: #005abc;
background-color: #005abc;
/* Tailwind (arbitrary) */
class="text-[#005abc] bg-[#005abc]"
/* SCSS */
$brand: #005abc;
/* SwiftUI */
Color(red: 0.000, green: 0.353, blue: 0.737)
/* Android */
Color.parseColor("#005abc")
/* Flutter */
Color(0xFF005ABC)
/* Python / OpenCV (BGR) */
(188, 90, 0)

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

Accessibility — WCAG contrast

Aa
#005abc on white: 6.59:1
AA ✓ pass · AA-large · AAA
Aa
#005abc on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0F65C0
deuteranopia · #0056BA
tritanopia · #007282

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #005abc is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F7FE
#E3EFFC
#C0DDFC
#8FC4FF
#57A7FF
#1F8AFF
#0075F5
#005abc
#004EA3
#053B76
#032549
Base = 700Lightest = 50 · #F1F7FEDarkest = 950 · #032549
:root {
  --brand-50: #F1F7FE;
  --brand-100: #E3EFFC;
  --brand-200: #C0DDFC;
  --brand-300: #8FC4FF;
  --brand-400: #57A7FF;
  --brand-500: #1F8AFF;
  --brand-600: #0075F5;
  --brand-700: #005abc;
  --brand-800: #004EA3;
  --brand-900: #053B76;
  --brand-950: #032549;
  --brand: #005abc;
  --brand-ink: #ffffff;
}

Colors that work with #005abc

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#4B719B
Captions on the surface
Accent#BC3300
Second voice, not a rival
Dark variant#003D80
Hover, pressed, headers
Light variant#E5F2FF
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 #005abc

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#BC6200
Analogous left#00B8BC
Analogous right#0400BC
Split-complement 1#BC0400
Split-complement 2#B8BC00
Triadic 1#BC005A
Triadic 2#5ABC00
Tetradic#BC00B8

RGB percentages

Red0.0%
Green35.3%
Blue73.7%

CMYK percentages

Cyan100.0%
Magenta52.1%
Yellow0.0%
Key (black)26.3%

Color previews

#005abc text on a black background

contrast 3.19:1

Card sample

#005abc text on a white background

contrast 6.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #005abc

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.

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

#005abc, answered

What color is #005abc?

#005abc is a dark electric blue, closest to Royal Blue (ΔE2000 8.5). It sits at 211° on the hue wheel with 100% saturation and 37% lightness, which reads as cool.

What is the RGB value of #005abc?

rgb(0, 90, 188) — 0 red, 90 green and 188 blue out of 255, or 0% / 35.3% / 73.7% by channel.

Is #005abc a light or a dark color?

It is a dark color. Relative luminance is 0.1094 and perceived brightness is 37%, so white text on it reaches 6.59:1.

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

White. It scores 6.59:1 against #005abc, versus 3.19:1 for black — AA at any size.

What is the complementary color of #005abc?

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

What colors go well with #005abc?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B719B for secondary text, #BC3300 as an accent and #003D80 for hover and pressed states. For a palette, the analogous pair #00B8BC and #0400BC stays calm, while #BC6200 is the loudest partner.

What is #005abc in CMYK for printing?

cmyk(100%, 52%, 0%, 26%). 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 #005abc 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 #0015BC; nudged cooler, #004DA3.

Work with #005abc in the Color Lab