Skip to content

#002fd2

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

RGB
0, 47, 210
HSL
227°, 100%, 41%
CMYK
100, 78, 0, 18
Luminance
0.0669

At a glance

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

Hex
#002fd2
Hue
227°
blue
Saturation
100%
electric
Lightness
41%
dark
Brightness
82%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0669
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.98:1
Closest name
Blue
ΔE2000 6.3
Where it sits
Hue227° of 360°
Saturation100%
Lightness41%
Temperature
Warm ← → Cool91% 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#002fd2
RGBrgb(0, 47, 210)
HSLhsl(227, 100%, 41%)
CMYKcmyk(100%, 78%, 0%, 18%)
LABlab(31.1 52.3 -84.2)
LCHlch(31.1 99.2 301.9)
OKLCHoklch(0.427 0.246 264.0)
Decimal12242
Display P3color(display-p3 0.000 0.184 0.824)

Copy-ready code

/* CSS */
color: #002fd2;
background-color: #002fd2;
/* Tailwind (arbitrary) */
class="text-[#002fd2] bg-[#002fd2]"
/* SCSS */
$brand: #002fd2;
/* SwiftUI */
Color(red: 0.000, green: 0.184, blue: 0.824)
/* Android */
Color.parseColor("#002fd2")
/* Flutter */
Color(0xFF002FD2)
/* Python / OpenCV (BGR) */
(210, 47, 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 #002fd2 · 8.98:1
Use #ffffffAAA at every size.
Aa
White text · 8.98:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.34:1
AA fail · AA large fail · AAA fail
Reading the other direction: #002fd2 as text scores 8.98:1 on white and 2.34:1 on black.

Accessibility — WCAG contrast

Aa
#002fd2 on white: 8.98:1
AA ✓ pass · AA-large · AAA
Aa
#002fd2 on black: 2.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0053D7
deuteranopia · #003FCF
tritanopia · #006280

Color scale — 50 to 950

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

#F1F4FE
#E3E9FC
#C0CDFC
#8FA8FF
#577CFF
#1F51FF
#0037F5
#002fd2
#0024A3
#051E76
#031349
Base = 700Lightest = 50 · #F1F4FEDarkest = 950 · #031349
:root {
  --brand-50: #F1F4FE;
  --brand-100: #E3E9FC;
  --brand-200: #C0CDFC;
  --brand-300: #8FA8FF;
  --brand-400: #577CFF;
  --brand-500: #1F51FF;
  --brand-600: #0037F5;
  --brand-700: #002fd2;
  --brand-800: #0024A3;
  --brand-900: #051E76;
  --brand-950: #031349;
  --brand: #002fd2;
  --brand-ink: #ffffff;
}

Colors that work with #002fd2

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#C0CAED
Hairlines and dividers
Muted text#4B5D9B
Captions on the surface
Accent#D26F00
Second voice, not a rival
Dark variant#001C80
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 #002fd2

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#D2A300
Analogous left#0098D2
Analogous right#3A00D2
Split-complement 1#D23A00
Split-complement 2#98D200
Triadic 1#D2002F
Triadic 2#2FD200
Tetradic#D20098

RGB percentages

Red0.0%
Green18.4%
Blue82.4%

CMYK percentages

Cyan100.0%
Magenta77.6%
Yellow0.0%
Key (black)17.6%

Color previews

#002fd2 text on a black background

contrast 2.34:1

Card sample

#002fd2 text on a white background

contrast 8.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #002fd2;
Background color
Panel with #002fd2 background
background-color: #002fd2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #002fd2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 47, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 47, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #002fd2;
background: linear-gradient(135deg, #002fd2, #5D00D2);

Monochromatic scale

Palettes built from #002fd2

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.

#002fd2 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.

#002fd2, answered

What color is #002fd2?

#002fd2 is a dark electric blue, closest to Blue (ΔE2000 6.3). It sits at 227° on the hue wheel with 100% saturation and 41% lightness, which reads as cool.

What is the RGB value of #002fd2?

rgb(0, 47, 210) — 0 red, 47 green and 210 blue out of 255, or 0% / 18.4% / 82.4% by channel.

Is #002fd2 a light or a dark color?

It is a dark color. Relative luminance is 0.0669 and perceived brightness is 31%, so white text on it reaches 8.98:1.

Should I use black or white text on #002fd2?

White. It scores 8.98:1 against #002fd2, versus 2.34:1 for black — AAA at any size.

What is the complementary color of #002fd2?

#D2A300 sits directly opposite on the wheel. Softer options are the split-complements #D23A00 and #98D200, which give the same contrast with far less vibration.

What colors go well with #002fd2?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5D9B for secondary text, #D26F00 as an accent and #001C80 for hover and pressed states. For a palette, the analogous pair #0098D2 and #3A00D2 stays calm, while #D2A300 is the loudest partner.

What is #002fd2 in CMYK for printing?

cmyk(100%, 78%, 0%, 18%). 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 #002fd2 warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1E00D2; nudged cooler, #0048D2.

Work with #002fd2 in the Color Lab