Skip to content

#094faf

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

RGB
9, 79, 175
HSL
215°, 90%, 36%
CMYK
95, 55, 0, 31
Luminance
0.0875

At a glance

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

Hex
#094faf
Hue
215°
blue
Saturation
90%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0875
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.64:1
Closest name
Royal Blue
ΔE2000 11.3
Where it sits
Hue215° of 360°
Saturation90%
Lightness36%
Temperature
Warm ← → Cool97% 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#094faf
RGBrgb(9, 79, 175)
HSLhsl(215, 90%, 36%)
CMYKcmyk(95%, 55%, 0%, 31%)
LABlab(35.5 19.1 -56.4)
LCHlch(35.5 59.6 288.7)
OKLCHoklch(0.450 0.166 259.0)
Decimal610223
Display P3color(display-p3 0.035 0.310 0.686)

Copy-ready code

/* CSS */
color: #094faf;
background-color: #094faf;
/* Tailwind (arbitrary) */
class="text-[#094faf] bg-[#094faf]"
/* SCSS */
$brand: #094faf;
/* SwiftUI */
Color(red: 0.035, green: 0.310, blue: 0.686)
/* Android */
Color.parseColor("#094faf")
/* Flutter */
Color(0xFF094FAF)
/* Python / OpenCV (BGR) */
(175, 79, 9)

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

Accessibility — WCAG contrast

Aa
#094faf on white: 7.64:1
AA ✓ pass · AA-large · AAA
Aa
#094faf on black: 2.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BB2
deuteranopia · #004DAD
tritanopia · #006777

Color scale — 50 to 950

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

#F2F6FD
#E5EEFB
#C3DAF8
#94BFFA
#5F9FF7
#2A7FF4
#0C69E9
#094faf
#08469B
#0A3570
#072146
Base = 700Lightest = 50 · #F2F6FDDarkest = 950 · #072146
:root {
  --brand-50: #F2F6FD;
  --brand-100: #E5EEFB;
  --brand-200: #C3DAF8;
  --brand-300: #94BFFA;
  --brand-400: #5F9FF7;
  --brand-500: #2A7FF4;
  --brand-600: #0C69E9;
  --brand-700: #094faf;
  --brand-800: #08469B;
  --brand-900: #0A3570;
  --brand-950: #072146;
  --brand: #094faf;
  --brand-ink: #ffffff;
}

Colors that work with #094faf

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#F4F7FA
Tinted page background
Border#C0D3ED
Hairlines and dividers
Muted text#4B6C9B
Captions on the surface
Accent#B33E05
Second voice, not a rival
Dark variant#063779
Hover, pressed, headers
Light variant#E7F0FE
Selected rows, tints
Dark surface#141B24
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 #094faf

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#AF6909
Analogous left#09A2AF
Analogous right#1609AF
Split-complement 1#AF1609
Split-complement 2#A2AF09
Triadic 1#AF094F
Triadic 2#4FAF09
Tetradic#AF09A2

RGB percentages

Red3.5%
Green31.0%
Blue68.6%

CMYK percentages

Cyan94.9%
Magenta54.9%
Yellow0.0%
Key (black)31.4%

Color previews

#094faf text on a black background

contrast 2.75:1

Card sample

#094faf text on a white background

contrast 7.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #094faf;
Background color
Panel with #094faf background
background-color: #094faf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #094faf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(9, 79, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 79, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #094faf;
background: linear-gradient(135deg, #094faf, #3209AF);

Monochromatic scale

Palettes built from #094faf

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.

#094faf 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.

#094faf, answered

What color is #094faf?

#094faf is a dark electric blue, closest to Royal Blue (ΔE2000 11.3). It sits at 215° on the hue wheel with 90% saturation and 36% lightness, which reads as cool.

What is the RGB value of #094faf?

rgb(9, 79, 175) — 9 red, 79 green and 175 blue out of 255, or 3.5% / 31% / 68.6% by channel.

Is #094faf a light or a dark color?

It is a dark color. Relative luminance is 0.0875 and perceived brightness is 33%, so white text on it reaches 7.64:1.

Should I use black or white text on #094faf?

White. It scores 7.64:1 against #094faf, versus 2.75:1 for black — AAA at any size.

What is the complementary color of #094faf?

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

What colors go well with #094faf?

For interface work: #F4F7FA as the surface, #C0D3ED for borders, #4B6C9B for secondary text, #B33E05 as an accent and #063779 for hover and pressed states. For a palette, the analogous pair #09A2AF and #1609AF stays calm, while #AF6909 is the loudest partner.

What is #094faf in CMYK for printing?

cmyk(95%, 55%, 0%, 31%). 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 #094faf warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0912AF; nudged cooler, #064898.

Work with #094faf in the Color Lab