Skip to content

#014baf

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

RGB
1, 75, 175
HSL
215°, 99%, 35%
CMYK
99, 57, 0, 31
Luminance
0.0813

At a glance

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

Hex
#014baf
Hue
215°
blue
Saturation
99%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0813
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.99:1
Closest name
Dark Slate Blue
ΔE2000 11
Where it sits
Hue215° of 360°
Saturation99%
Lightness35%
Temperature
Warm ← → Cool98% 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#014baf
RGBrgb(1, 75, 175)
HSLhsl(215, 99%, 35%)
CMYKcmyk(99%, 57%, 0%, 31%)
LABlab(34.3 21.5 -58.5)
LCHlch(34.3 62.3 290.2)
OKLCHoklch(0.441 0.172 259.3)
Decimal84911
Display P3color(display-p3 0.004 0.294 0.686)

Copy-ready code

/* CSS */
color: #014baf;
background-color: #014baf;
/* Tailwind (arbitrary) */
class="text-[#014baf] bg-[#014baf]"
/* SCSS */
$brand: #014baf;
/* SwiftUI */
Color(red: 0.004, green: 0.294, blue: 0.686)
/* Android */
Color.parseColor("#014baf")
/* Flutter */
Color(0xFF014BAF)
/* Python / OpenCV (BGR) */
(175, 75, 1)

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

Accessibility — WCAG contrast

Aa
#014baf on white: 7.99:1
AA ✓ pass · AA-large · AAA
Aa
#014baf on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058B2
deuteranopia · #004AAD
tritanopia · #006475

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #014baf is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F6FE
#E3EEFC
#C0D9FB
#8FBFFE
#589EFE
#207EFE
#0168F3
#0157CB
#014baf
#063575
#032149
Base = 800Lightest = 50 · #F1F6FEDarkest = 950 · #032149
:root {
  --brand-50: #F1F6FE;
  --brand-100: #E3EEFC;
  --brand-200: #C0D9FB;
  --brand-300: #8FBFFE;
  --brand-400: #589EFE;
  --brand-500: #207EFE;
  --brand-600: #0168F3;
  --brand-700: #0157CB;
  --brand-800: #014baf;
  --brand-900: #063575;
  --brand-950: #032149;
  --brand: #014baf;
  --brand-ink: #ffffff;
}

Colors that work with #014baf

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#4B6D9B
Captions on the surface
Accent#B03900
Second voice, not a rival
Dark variant#01367F
Hover, pressed, headers
Light variant#E6F0FF
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 #014baf

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#AF6501
Analogous left#01A2AF
Analogous right#0E01AF
Split-complement 1#AF0E01
Split-complement 2#A2AF01
Triadic 1#AF014B
Triadic 2#4BAF01
Tetradic#AF01A2

RGB percentages

Red0.4%
Green29.4%
Blue68.6%

CMYK percentages

Cyan99.4%
Magenta57.1%
Yellow0.0%
Key (black)31.4%

Color previews

#014baf text on a black background

contrast 2.63:1

Card sample

#014baf text on a white background

contrast 7.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #014baf;
Background color
Panel with #014baf background
background-color: #014baf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #014baf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(1, 75, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 75, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #014baf;
background: linear-gradient(135deg, #014baf, #2B01AF);

Monochromatic scale

Palettes built from #014baf

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.

#014baf 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.

#014baf, answered

What color is #014baf?

#014baf is a dark electric blue, closest to Dark Slate Blue (ΔE2000 11). It sits at 215° on the hue wheel with 99% saturation and 35% lightness, which reads as cool.

What is the RGB value of #014baf?

rgb(1, 75, 175) — 1 red, 75 green and 175 blue out of 255, or 0.4% / 29.4% / 68.6% by channel.

Is #014baf a light or a dark color?

It is a dark color. Relative luminance is 0.0813 and perceived brightness is 32%, so white text on it reaches 7.99:1.

Should I use black or white text on #014baf?

White. It scores 7.99:1 against #014baf, versus 2.63:1 for black — AAA at any size.

What is the complementary color of #014baf?

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

What colors go well with #014baf?

For interface work: #F4F7FA as the surface, #C0D3ED for borders, #4B6D9B for secondary text, #B03900 as an accent and #01367F for hover and pressed states. For a palette, the analogous pair #01A2AF and #0E01AF stays calm, while #AF6501 is the loudest partner.

What is #014baf in CMYK for printing?

cmyk(99%, 57%, 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 #014baf warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #010BAF; nudged cooler, #004496.

Work with #014baf in the Color Lab