Skip to content

#0803bf

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

RGB
8, 3, 191
HSL
242°, 97%, 38%
CMYK
96, 98, 0, 25
Luminance
0.0388

At a glance

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

Hex
#0803bf
Hue
242°
blue
Saturation
97%
electric
Lightness
38%
dark
Brightness
75%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0388
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Electric
Best ink
White
11.83:1
Closest name
Medium Blue
ΔE2000 1.7
Where it sits
Hue242° of 360°
Saturation97%
Lightness38%
Temperature
Warm ← → Cool82% 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#0803bf
RGBrgb(8, 3, 191)
HSLhsl(242, 97%, 38%)
CMYKcmyk(96%, 98%, 0%, 25%)
LABlab(23.3 63.1 -86.1)
LCHlch(23.3 106.8 306.2)
OKLCHoklch(0.367 0.250 265.1)
Decimal525247
Display P3color(display-p3 0.031 0.012 0.749)

Copy-ready code

/* CSS */
color: #0803bf;
background-color: #0803bf;
/* Tailwind (arbitrary) */
class="text-[#0803bf] bg-[#0803bf]"
/* SCSS */
$brand: #0803bf;
/* SwiftUI */
Color(red: 0.031, green: 0.012, blue: 0.749)
/* Android */
Color.parseColor("#0803bf")
/* Flutter */
Color(0xFF0803BF)
/* Python / OpenCV (BGR) */
(191, 3, 8)

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 #0803bf · 11.83:1
Use #ffffffAAA at every size.
Aa
White text · 11.83:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.78:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0803bf as text scores 11.83:1 on white and 1.78:1 on black.

Accessibility — WCAG contrast

Aa
#0803bf on white: 11.83:1
AA ✓ pass · AA-large · AAA
Aa
#0803bf on black: 1.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0041C3
deuteranopia · #002DBC
tritanopia · #004F6F

Color scale — 50 to 950

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

#F2F1FD
#E4E4FC
#C3C1FB
#9391FD
#5E59FC
#2822FC
#0A04F1
#0803bf
#0703A1
#0A0774
#060448
Base = 700Lightest = 50 · #F2F1FDDarkest = 950 · #060448
:root {
  --brand-50: #F2F1FD;
  --brand-100: #E4E4FC;
  --brand-200: #C3C1FB;
  --brand-300: #9391FD;
  --brand-400: #5E59FC;
  --brand-500: #2822FC;
  --brand-600: #0A04F1;
  --brand-700: #0803bf;
  --brand-800: #0703A1;
  --brand-900: #0A0774;
  --brand-950: #060448;
  --brand: #0803bf;
  --brand-ink: #ffffff;
}

Colors that work with #0803bf

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#F4F4FA
Tinted page background
Border#C1C0ED
Hairlines and dividers
Muted text#4D4B9B
Captions on the surface
Accent#CC9F00
Second voice, not a rival
Dark variant#05027E
Hover, pressed, headers
Light variant#E7E6FF
Selected rows, tints
Dark surface#141424
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 #0803bf

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
  • Text on black or near-black surfaces
  • 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#BABF03
Analogous left#035CBF
Analogous right#6603BF
Split-complement 1#BF6603
Split-complement 2#5CBF03
Triadic 1#BF0803
Triadic 2#03BF08
Tetradic#BF035C

RGB percentages

Red3.1%
Green1.2%
Blue74.9%

CMYK percentages

Cyan95.8%
Magenta98.4%
Yellow0.0%
Key (black)25.1%

Color previews

#0803bf text on a black background

contrast 1.78:1

Card sample

#0803bf text on a white background

contrast 11.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0803bf;
Background color
Panel with #0803bf background
background-color: #0803bf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0803bf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 3, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 3, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0803bf;
background: linear-gradient(135deg, #0803bf, #8503BF);

Monochromatic scale

Palettes built from #0803bf

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.

#0803bf 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.

#0803bf, answered

What color is #0803bf?

#0803bf is a dark electric blue, closest to Medium Blue (ΔE2000 1.7). It sits at 242° on the hue wheel with 97% saturation and 38% lightness, which reads as cool.

What is the RGB value of #0803bf?

rgb(8, 3, 191) — 8 red, 3 green and 191 blue out of 255, or 3.1% / 1.2% / 74.9% by channel.

Is #0803bf a light or a dark color?

It is a dark color. Relative luminance is 0.0388 and perceived brightness is 25%, so white text on it reaches 11.83:1.

Should I use black or white text on #0803bf?

White. It scores 11.83:1 against #0803bf, versus 1.78:1 for black — AAA at any size.

What is the complementary color of #0803bf?

#BABF03 sits directly opposite on the wheel. Softer options are the split-complements #BF6603 and #5CBF03, which give the same contrast with far less vibration.

What colors go well with #0803bf?

For interface work: #F4F4FA as the surface, #C1C0ED for borders, #4D4B9B for secondary text, #CC9F00 as an accent and #05027E for hover and pressed states. For a palette, the analogous pair #035CBF and #6603BF stays calm, while #BABF03 is the loudest partner.

What is #0803bf in CMYK for printing?

cmyk(96%, 98%, 0%, 25%). 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 #0803bf warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4D03BF; nudged cooler, #012DC1.

Work with #0803bf in the Color Lab