Skip to content

#5f9bba

a balanced, soft blue · cool · closest name: Steel Blue

RGB
95, 155, 186
HSL
200°, 40%, 55%
CMYK
49, 17, 0, 27
Luminance
0.2942

At a glance

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

Hex
#5f9bba
Hue
200°
blue
Saturation
40%
soft
Lightness
55%
balanced
Brightness
73%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2942
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
6.88:1
Closest name
Steel Blue
ΔE2000 10
Where it sits
Hue200° of 360°
Saturation40%
Lightness55%
Temperature
Warm ← → Cool96% 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#5f9bba
RGBrgb(95, 155, 186)
HSLhsl(200, 40%, 55%)
CMYKcmyk(49%, 17%, 0%, 27%)
LABlab(61.1 -10.9 -22.1)
LCHlch(61.1 24.6 243.7)
OKLCHoklch(0.661 0.078 232.1)
Decimal6265786
Display P3color(display-p3 0.373 0.608 0.729)

Copy-ready code

/* CSS */
color: #5f9bba;
background-color: #5f9bba;
/* Tailwind (arbitrary) */
class="text-[#5f9bba] bg-[#5f9bba]"
/* SCSS */
$brand: #5f9bba;
/* SwiftUI */
Color(red: 0.373, green: 0.608, blue: 0.729)
/* Android */
Color.parseColor("#5f9bba")
/* Flutter */
Color(0xFF5F9BBA)
/* Python / OpenCV (BGR) */
(186, 155, 95)

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#000000 on #5f9bba · 6.88:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.05:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.88:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #5f9bba as text scores 3.05:1 on white and 6.88:1 on black.

Accessibility — WCAG contrast

Aa
#5f9bba on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#5f9bba on black: 6.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8C99BC
deuteranopia · #7F8FBA
tritanopia · #31A3A5

Color scale — 50 to 950

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

#F5F8FA
#EBF1F4
#D2E2E9
#B1CEDD
#89B6CC
#5f9bba
#4A8AAB
#3E738E
#315C72
#274454
#182B34
Base = 500Lightest = 50 · #F5F8FADarkest = 950 · #182B34
:root {
  --brand-50: #F5F8FA;
  --brand-100: #EBF1F4;
  --brand-200: #D2E2E9;
  --brand-300: #B1CEDD;
  --brand-400: #89B6CC;
  --brand-500: #5f9bba;
  --brand-600: #4A8AAB;
  --brand-700: #3E738E;
  --brand-800: #315C72;
  --brand-900: #274454;
  --brand-950: #182B34;
  --brand: #5f9bba;
  --brand-ink: #000000;
}

Colors that work with #5f9bba

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C6DBE6
Hairlines and dividers
Muted text#4B809B
Captions on the surface
Accent#BF635A
Second voice, not a rival
Dark variant#264859
Hover, pressed, headers
Light variant#EDF4F7
Selected rows, tints
Dark surface#141F24
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 #5f9bba

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#BA7E5F
Analogous left#5FBAAB
Analogous right#5F6EBA
Split-complement 1#BA5F6E
Split-complement 2#BAAB5F
Triadic 1#BA5F9B
Triadic 2#9BBA5F
Tetradic#AB5FBA

RGB percentages

Red37.3%
Green60.8%
Blue72.9%

CMYK percentages

Cyan48.9%
Magenta16.7%
Yellow0.0%
Key (black)27.1%

Color previews

#5f9bba text on a black background

contrast 6.88:1

Card sample

#5f9bba text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5f9bba;
Background color
Panel with #5f9bba background
background-color: #5f9bba;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5f9bba;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(95, 155, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 155, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f9bba;
background: linear-gradient(135deg, #5f9bba, #605FBA);

Monochromatic scale

Palettes built from #5f9bba

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.

#5f9bba 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

Converts to four-color process without much drama. Proof it anyway.

#5f9bba, answered

What color is #5f9bba?

#5f9bba is a balanced soft blue, closest to Steel Blue (ΔE2000 10). It sits at 200° on the hue wheel with 40% saturation and 55% lightness, which reads as cool.

What is the RGB value of #5f9bba?

rgb(95, 155, 186) — 95 red, 155 green and 186 blue out of 255, or 37.3% / 60.8% / 72.9% by channel.

Is #5f9bba a light or a dark color?

It is a mid-tone. Relative luminance is 0.2942 and perceived brightness is 56%, so black text on it reaches 6.88:1.

Should I use black or white text on #5f9bba?

Black. It scores 6.88:1 against #5f9bba, versus 3.05:1 for white — AA at any size.

What is the complementary color of #5f9bba?

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

What colors go well with #5f9bba?

For interface work: #F4F8FA as the surface, #C6DBE6 for borders, #4B809B for secondary text, #BF635A as an accent and #264859 for hover and pressed states. For a palette, the analogous pair #5FBAAB and #5F6EBA stays calm, while #BA7E5F is the loudest partner.

What is #5f9bba in CMYK for printing?

cmyk(49%, 17%, 0%, 27%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #5f9bba warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5FBAB8; nudged cooler, #5D90BC.

Work with #5f9bba in the Color Lab