Skip to content

#0276df

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

RGB
2, 118, 223
HSL
209°, 98%, 44%
CMYK
99, 47, 0, 13
Luminance
0.1830

At a glance

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

Hex
#0276df
Hue
209°
blue
Saturation
98%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1830
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
4.66:1
Closest name
Steel Blue
ΔE2000 5.9
Where it sits
Hue209° of 360°
Saturation98%
Lightness44%
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#0276df
RGBrgb(2, 118, 223)
HSLhsl(209, 98%, 44%)
CMYKcmyk(99%, 47%, 0%, 13%)
LABlab(49.9 12.7 -60.9)
LCHlch(49.9 62.2 281.7)
OKLCHoklch(0.571 0.182 254.2)
Decimal161503
Display P3color(display-p3 0.008 0.463 0.875)

Copy-ready code

/* CSS */
color: #0276df;
background-color: #0276df;
/* Tailwind (arbitrary) */
class="text-[#0276df] bg-[#0276df]"
/* SCSS */
$brand: #0276df;
/* SwiftUI */
Color(red: 0.008, green: 0.463, blue: 0.875)
/* Android */
Color.parseColor("#0276df")
/* Flutter */
Color(0xFF0276DF)
/* Python / OpenCV (BGR) */
(223, 118, 2)

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

Accessibility — WCAG contrast

Aa
#0276df on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#0276df on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3880E3
deuteranopia · #006EDD
tritanopia · #0090A0

Color scale — 50 to 950

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

#F1F8FD
#E3F0FC
#C1DFFB
#90CAFE
#58AFFD
#2194FD
#0276df
#026BCA
#0156A2
#064074
#042849
Base = 600Lightest = 50 · #F1F8FDDarkest = 950 · #042849
:root {
  --brand-50: #F1F8FD;
  --brand-100: #E3F0FC;
  --brand-200: #C1DFFB;
  --brand-300: #90CAFE;
  --brand-400: #58AFFD;
  --brand-500: #2194FD;
  --brand-600: #0276df;
  --brand-700: #026BCA;
  --brand-800: #0156A2;
  --brand-900: #064074;
  --brand-950: #042849;
  --brand: #0276df;
  --brand-ink: #000000;
}

Colors that work with #0276df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0D7ED
Hairlines and dividers
Muted text#4B759B
Captions on the surface
Accent#E13300
Second voice, not a rival
Dark variant#01437E
Hover, pressed, headers
Light variant#E6F3FF
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 #0276df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#DF6B02
Analogous left#02DFD9
Analogous right#0208DF
Split-complement 1#DF0208
Split-complement 2#DFD902
Triadic 1#DF0276
Triadic 2#76DF02
Tetradic#D902DF

RGB percentages

Red0.8%
Green46.3%
Blue87.5%

CMYK percentages

Cyan99.1%
Magenta47.1%
Yellow0.0%
Key (black)12.5%

Color previews

#0276df text on a black background

contrast 4.66:1

Card sample

#0276df text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0276df

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.

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

#0276df, answered

What color is #0276df?

#0276df is a dark electric blue, closest to Steel Blue (ΔE2000 5.9). It sits at 209° on the hue wheel with 98% saturation and 44% lightness, which reads as cool.

What is the RGB value of #0276df?

rgb(2, 118, 223) — 2 red, 118 green and 223 blue out of 255, or 0.8% / 46.3% / 87.5% by channel.

Is #0276df a light or a dark color?

It is a mid-tone. Relative luminance is 0.1830 and perceived brightness is 46%, so black text on it reaches 4.66:1.

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

Black. It scores 4.66:1 against #0276df, versus 4.51:1 for white — AA at any size.

What is the complementary color of #0276df?

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

What colors go well with #0276df?

For interface work: #F4F8FA as the surface, #C0D7ED for borders, #4B759B for secondary text, #E13300 as an accent and #01437E for hover and pressed states. For a palette, the analogous pair #02DFD9 and #0208DF stays calm, while #DF6B02 is the loudest partner.

What is #0276df in CMYK for printing?

cmyk(99%, 47%, 0%, 13%). 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 #0276df 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 #0225DF; nudged cooler, #0064C7.

Work with #0276df in the Color Lab