Skip to content

#0033ff

a balanced, electric blue · cool · closest name: Blue

RGB
0, 51, 255
HSL
228°, 100%, 50%
CMYK
100, 80, 0, 0
Luminance
0.0959

At a glance

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

Hex
#0033ff
Hue
228°
blue
Saturation
100%
electric
Lightness
50%
balanced
Brightness
100%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0959
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.20:1
Closest name
Blue
ΔE2000 5.4
Where it sits
Hue228° of 360°
Saturation100%
Lightness50%
Temperature
Warm ← → Cool90% 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#0033ff
RGBrgb(0, 51, 255)
HSLhsl(228, 100%, 50%)
CMYKcmyk(100%, 80%, 0%, 0%)
LABlab(37.1 64.7 -99.9)
LCHlch(37.1 119.0 302.9)
OKLCHoklch(0.485 0.291 264.1)
Decimal13311
Display P3color(display-p3 0.000 0.200 1.000)

Copy-ready code

/* CSS */
color: #0033ff;
background-color: #0033ff;
/* Tailwind (arbitrary) */
class="text-[#0033ff] bg-[#0033ff]"
/* SCSS */
$brand: #0033ff;
/* SwiftUI */
Color(red: 0.000, green: 0.200, blue: 1.000)
/* Android */
Color.parseColor("#0033ff")
/* Flutter */
Color(0xFF0033FF)
/* Python / OpenCV (BGR) */
(255, 51, 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 #0033ff · 7.20:1
Use #ffffffAAA at every size.
Aa
White text · 7.20:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.92:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0033ff as text scores 7.20:1 on white and 2.92:1 on black.

Accessibility — WCAG contrast

Aa
#0033ff on white: 7.20:1
AA ✓ pass · AA-large · AAA
Aa
#0033ff on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063FF
deuteranopia · #004BFC
tritanopia · #00759B

Color scale — 50 to 950

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

#F1F4FE
#E3E8FC
#C0CCFC
#8FA5FF
#5778FF
#1F4BFF
#0033ff
#0029CC
#0021A3
#051B76
#031149
Base = 600Lightest = 50 · #F1F4FEDarkest = 950 · #031149
:root {
  --brand-50: #F1F4FE;
  --brand-100: #E3E8FC;
  --brand-200: #C0CCFC;
  --brand-300: #8FA5FF;
  --brand-400: #5778FF;
  --brand-500: #1F4BFF;
  --brand-600: #0033ff;
  --brand-700: #0029CC;
  --brand-800: #0021A3;
  --brand-900: #051B76;
  --brand-950: #031149;
  --brand: #0033ff;
  --brand-ink: #ffffff;
}

Colors that work with #0033ff

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#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#CC7000
Second voice, not a rival
Dark variant#001A80
Hover, pressed, headers
Light variant#E5EBFF
Selected rows, tints
Dark surface#141724
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 #0033ff

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
  • Text on black or near-black surfaces
  • 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#FFCC00
Analogous left#00B3FF
Analogous right#4C00FF
Split-complement 1#FF4D00
Split-complement 2#B3FF00
Triadic 1#FF0033
Triadic 2#33FF00
Tetradic#FF00B3

RGB percentages

Red0.0%
Green20.0%
Blue100.0%

CMYK percentages

Cyan100.0%
Magenta80.0%
Yellow0.0%
Key (black)0.0%

Color previews

#0033ff text on a black background

contrast 2.92:1

Card sample

#0033ff text on a white background

contrast 7.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0033ff;
Background color
Panel with #0033ff background
background-color: #0033ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0033ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 51, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 51, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0033ff;
background: linear-gradient(135deg, #0033ff, #7700FF);

Monochromatic scale

Palettes built from #0033ff

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.

#0033ff 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.

#0033ff, answered

What color is #0033ff?

#0033ff is a balanced electric blue, closest to Blue (ΔE2000 5.4). It sits at 228° on the hue wheel with 100% saturation and 50% lightness, which reads as cool.

What is the RGB value of #0033ff?

rgb(0, 51, 255) — 0 red, 51 green and 255 blue out of 255, or 0% / 20% / 100% by channel.

Is #0033ff a light or a dark color?

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

Should I use black or white text on #0033ff?

White. It scores 7.20:1 against #0033ff, versus 2.92:1 for black — AAA at any size.

What is the complementary color of #0033ff?

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

What colors go well with #0033ff?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #CC7000 as an accent and #001A80 for hover and pressed states. For a palette, the analogous pair #00B3FF and #4C00FF stays calm, while #FFCC00 is the loudest partner.

What is #0033ff in CMYK for printing?

cmyk(100%, 80%, 0%, 0%). 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 #0033ff warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B00FF; nudged cooler, #0051FF.

Work with #0033ff in the Color Lab