#2f94cd
a balanced, vivid blue · cool · closest name: Steel Blue
At a glance
Every number on this page in one read: what #2f94cd 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 | #2f94cd |
| RGB | rgb(47, 148, 205) |
| HSL | hsl(202, 63%, 49%) |
| CMYK | cmyk(77%, 28%, 0%, 20%) |
| LAB | lab(58.2 -9.3 -37.5) |
| LCH | lch(58.2 38.6 256.0) |
| OKLCH | oklch(0.635 0.124 238.5) |
| Decimal | 3118285 |
| Display P3 | color(display-p3 0.184 0.580 0.804) |
Copy-ready code
/* CSS */
color: #2f94cd;
background-color: #2f94cd;
/* Tailwind (arbitrary) */
class="text-[#2f94cd] bg-[#2f94cd]"
/* SCSS */
$brand: #2f94cd;
/* SwiftUI */
Color(red: 0.184, green: 0.580, blue: 0.804)
/* Android */
Color.parseColor("#2f94cd")
/* Flutter */
Color(0xFF2F94CD)
/* Python / OpenCV (BGR) */
(205, 148, 47)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. #2f94cd 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.
:root {
--brand-50: #F4F8FB;
--brand-100: #E8F2F7;
--brand-200: #CCE3F0;
--brand-300: #A4D1EA;
--brand-400: #76BAE0;
--brand-500: #48A2D5;
--brand-600: #2f94cd;
--brand-700: #2678A6;
--brand-800: #1E6085;
--brand-900: #1A4761;
--brand-950: #102C3C;
--brand: #2f94cd;
--brand-ink: #000000;
}Colors that work with #2f94cd
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 #2f94cd
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 | #CD682F | Directly opposite — maximum tension | |
| Analogous left | #2FCDB7 | Neighbour, quieter | |
| Analogous right | #2F45CD | Neighbour, quieter | |
| Split-complement 1 | #CD2F45 | Contrast without the clash | |
| Split-complement 2 | #CDB72F | Contrast without the clash | |
| Triadic 1 | #CD2F94 | Even thirds — balanced and loud | |
| Triadic 2 | #94CD2F | Even thirds — balanced and loud | |
| Tetradic | #B72FCD | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#2f94cd text on a black background
contrast 6.24:1
#2f94cd text on a white background
contrast 3.37:1
CSS3 live lab
The quick brown fox
color: #2f94cd;
background-color: #2f94cd;
Glowing headline
text-shadow: 2px 2px 8px #2f94cd;
Soft neon halo
text-shadow: 0 0 14px rgba(47, 148, 205, 0.45);
box-shadow: 0 12px 32px -8px rgba(47, 148, 205, 0.45);
border: 3px solid #2f94cd; background: linear-gradient(135deg, #2f94cd, #332FCD);
Monochromatic scale
Palettes built from #2f94cd
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: Steel Blue (#4682b4) — ΔE2000 7.1 away, with its history, psychology and brand usage.
#2f94cd 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.
#2f94cd, answered
What color is #2f94cd?
#2f94cd is a balanced vivid blue, closest to Steel Blue (ΔE2000 7.1). It sits at 202° on the hue wheel with 63% saturation and 49% lightness, which reads as cool.
What is the RGB value of #2f94cd?
rgb(47, 148, 205) — 47 red, 148 green and 205 blue out of 255, or 18.4% / 58% / 80.4% by channel.
Is #2f94cd a light or a dark color?
It is a mid-tone. Relative luminance is 0.2619 and perceived brightness is 53%, so black text on it reaches 6.24:1.
Should I use black or white text on #2f94cd?
Black. It scores 6.24:1 against #2f94cd, versus 3.37:1 for white — AA at any size.
What is the complementary color of #2f94cd?
#CD682F sits directly opposite on the wheel. Softer options are the split-complements #CD2F45 and #CDB72F, which give the same contrast with far less vibration.
What colors go well with #2f94cd?
For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7E9B for secondary text, #D23C2A as an accent and #184B68 for hover and pressed states. For a palette, the analogous pair #2FCDB7 and #2F45CD stays calm, while #CD682F is the loudest partner.
What is #2f94cd in CMYK for printing?
cmyk(77%, 28%, 0%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #2f94cd 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 #2FCDCC; nudged cooler, #2878BA.