Skip to content

#071fdf

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

RGB
7, 31, 223
HSL
233°, 94%, 45%
CMYK
97, 86, 0, 13
Luminance
0.0635

At a glance

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

Hex
#071fdf
Hue
233°
blue
Saturation
94%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0635
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.25:1
Closest name
Blue
ΔE2000 3.7
Where it sits
Hue233° of 360°
Saturation94%
Lightness45%
Temperature
Warm ← → Cool87% 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#071fdf
RGBrgb(7, 31, 223)
HSLhsl(233, 94%, 45%)
CMYKcmyk(97%, 86%, 0%, 13%)
LABlab(30.3 63.9 -93.1)
LCHlch(30.3 112.9 304.5)
OKLCHoklch(0.427 0.271 264.8)
Decimal466911
Display P3color(display-p3 0.027 0.122 0.875)

Copy-ready code

/* CSS */
color: #071fdf;
background-color: #071fdf;
/* Tailwind (arbitrary) */
class="text-[#071fdf] bg-[#071fdf]"
/* SCSS */
$brand: #071fdf;
/* SwiftUI */
Color(red: 0.027, green: 0.122, blue: 0.875)
/* Android */
Color.parseColor("#071fdf")
/* Flutter */
Color(0xFF071FDF)
/* Python / OpenCV (BGR) */
(223, 31, 7)

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

Accessibility — WCAG contrast

Aa
#071fdf on white: 9.25:1
AA ✓ pass · AA-large · AAA
Aa
#071fdf on black: 2.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052E4
deuteranopia · #003CDC
tritanopia · #006285

Color scale — 50 to 950

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

#F2F3FD
#E4E7FB
#C2C8FA
#929EFC
#5C6DFA
#253DF8
#071fdf
#061CC6
#05169E
#081472
#050D47
Base = 600Lightest = 50 · #F2F3FDDarkest = 950 · #050D47
:root {
  --brand-50: #F2F3FD;
  --brand-100: #E4E7FB;
  --brand-200: #C2C8FA;
  --brand-300: #929EFC;
  --brand-400: #5C6DFA;
  --brand-500: #253DF8;
  --brand-600: #071fdf;
  --brand-700: #061CC6;
  --brand-800: #05169E;
  --brand-900: #081472;
  --brand-950: #050D47;
  --brand: #071fdf;
  --brand-ink: #ffffff;
}

Colors that work with #071fdf

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#F4F5FA
Tinted page background
Border#C0C5ED
Hairlines and dividers
Muted text#4B549B
Captions on the surface
Accent#CA8102
Second voice, not a rival
Dark variant#04117C
Hover, pressed, headers
Light variant#E6E9FE
Selected rows, tints
Dark surface#141624
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 #071fdf

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#DFC707
Analogous left#078BDF
Analogous right#5B07DF
Split-complement 1#DF5B07
Split-complement 2#8BDF07
Triadic 1#DF071F
Triadic 2#1FDF07
Tetradic#DF078B

RGB percentages

Red2.7%
Green12.2%
Blue87.5%

CMYK percentages

Cyan96.9%
Magenta86.1%
Yellow0.0%
Key (black)12.5%

Color previews

#071fdf text on a black background

contrast 2.27:1

Card sample

#071fdf text on a white background

contrast 9.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #071fdf;
Background color
Panel with #071fdf background
background-color: #071fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #071fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(7, 31, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 31, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #071fdf;
background: linear-gradient(135deg, #071fdf, #7F07DF);

Monochromatic scale

Palettes built from #071fdf

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.

#071fdf 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.

#071fdf, answered

What color is #071fdf?

#071fdf is a balanced electric blue, closest to Blue (ΔE2000 3.7). It sits at 233° on the hue wheel with 94% saturation and 45% lightness, which reads as cool.

What is the RGB value of #071fdf?

rgb(7, 31, 223) — 7 red, 31 green and 223 blue out of 255, or 2.7% / 12.2% / 87.5% by channel.

Is #071fdf a light or a dark color?

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

Should I use black or white text on #071fdf?

White. It scores 9.25:1 against #071fdf, versus 2.27:1 for black — AAA at any size.

What is the complementary color of #071fdf?

#DFC707 sits directly opposite on the wheel. Softer options are the split-complements #DF5B07 and #8BDF07, which give the same contrast with far less vibration.

What colors go well with #071fdf?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B549B for secondary text, #CA8102 as an accent and #04117C for hover and pressed states. For a palette, the analogous pair #078BDF and #5B07DF stays calm, while #DFC707 is the loudest partner.

What is #071fdf in CMYK for printing?

cmyk(97%, 86%, 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 #071fdf warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3E07DF; nudged cooler, #0543E1.

Work with #071fdf in the Color Lab