#5f9ace
a balanced, vivid blue · cool · closest name: Cornflower Blue
At a glance
Every number on this page in one read: what #5f9ace is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #5f9ace |
| RGB | rgb(95, 154, 206) |
| HSL | hsl(208, 53%, 59%) |
| CMYK | cmyk(54%, 25%, 0%, 19%) |
| LAB | lab(61.6 -4.4 -32.5) |
| LCH | lch(61.6 32.8 262.4) |
| OKLCH | oklch(0.667 0.099 246.5) |
| Decimal | 6265550 |
| Display P3 | color(display-p3 0.373 0.604 0.808) |
Copy-ready code
/* CSS */
color: #5f9ace;
background-color: #5f9ace;
/* Tailwind (arbitrary) */
class="text-[#5f9ace] bg-[#5f9ace]"
/* SCSS */
$brand: #5f9ace;
/* SwiftUI */
Color(red: 0.373, green: 0.604, blue: 0.808)
/* Android */
Color.parseColor("#5f9ace")
/* Flutter */
Color(0xFF5F9ACE)
/* Python / OpenCV (BGR) */
(206, 154, 95)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #5f9ace 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.
:root {
--brand-50: #F4F8FB;
--brand-100: #E9F0F6;
--brand-200: #CEDFED;
--brand-300: #A9C9E5;
--brand-400: #7EAED8;
--brand-500: #5f9ace;
--brand-600: #397FBB;
--brand-700: #30699C;
--brand-800: #26547D;
--brand-900: #1F3F5B;
--brand-950: #142739;
--brand: #5f9ace;
--brand-ink: #000000;
}Colors that work with #5f9ace
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #5f9ace
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠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 | #CE935F | Directly opposite — maximum tension | |
| Analogous left | #5FCECA | Neighbour, quieter | |
| Analogous right | #5F62CE | Neighbour, quieter | |
| Split-complement 1 | #CE5F62 | Contrast without the clash | |
| Split-complement 2 | #CECA5F | Contrast without the clash | |
| Triadic 1 | #CE5F9A | Even thirds — balanced and loud | |
| Triadic 2 | #9ACE5F | Even thirds — balanced and loud | |
| Tetradic | #CA5FCE | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#5f9ace text on a black background
contrast 7.00:1
#5f9ace text on a white background
contrast 3.00:1
CSS3 live lab
The quick brown fox
color: #5f9ace;
background-color: #5f9ace;
Glowing headline
text-shadow: 2px 2px 8px #5f9ace;
Soft neon halo
text-shadow: 0 0 14px rgba(95, 154, 206, 0.45);
box-shadow: 0 12px 32px -8px rgba(95, 154, 206, 0.45);
border: 3px solid #5f9ace; background: linear-gradient(135deg, #5f9ace, #6E5FCE);
Monochromatic scale
Palettes built from #5f9ace
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.
Closest color with a full write-up: Cornflower Blue (#6495ed) — ΔE2000 5.2 away, with its history, psychology and brand usage.
#5f9ace in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#5f9ace, answered
What color is #5f9ace?
#5f9ace is a balanced vivid blue, closest to Cornflower Blue (ΔE2000 5.2). It sits at 208° on the hue wheel with 53% saturation and 59% lightness, which reads as cool.
What is the RGB value of #5f9ace?
rgb(95, 154, 206) — 95 red, 154 green and 206 blue out of 255, or 37.3% / 60.4% / 80.8% by channel.
Is #5f9ace a light or a dark color?
It is a mid-tone. Relative luminance is 0.3000 and perceived brightness is 57%, so black text on it reaches 7.00:1.
Should I use black or white text on #5f9ace?
Black. It scores 7.00:1 against #5f9ace, versus 3.00:1 for white — AAA at any size.
What is the complementary color of #5f9ace?
#CE935F sits directly opposite on the wheel. Softer options are the split-complements #CE5F62 and #CECA5F, which give the same contrast with far less vibration.
What colors go well with #5f9ace?
For interface work: #F4F8FA as the surface, #C1D8EC for borders, #4B759B for secondary text, #D2755B as an accent and #1E4262 for hover and pressed states. For a palette, the analogous pair #5FCECA and #5F62CE stays calm, while #CE935F is the loudest partner.
What is #5f9ace in CMYK for printing?
cmyk(54%, 25%, 0%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #5f9ace warm or cool?
Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5F71CE; nudged cooler, #4989CA.