#2c81cf
a balanced, vivid blue · cool · closest name: Steel Blue
At a glance
Every number on this page in one read: what #2c81cf 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 | #2c81cf |
| RGB | rgb(44, 129, 207) |
| HSL | hsl(209, 65%, 49%) |
| CMYK | cmyk(79%, 38%, 0%, 19%) |
| LAB | lab(52.7 2.2 -47.4) |
| LCH | lch(52.7 47.4 272.6) |
| OKLCH | oklch(0.592 0.144 250.2) |
| Decimal | 2916815 |
| Display P3 | color(display-p3 0.173 0.506 0.812) |
Copy-ready code
/* CSS */
color: #2c81cf;
background-color: #2c81cf;
/* Tailwind (arbitrary) */
class="text-[#2c81cf] bg-[#2c81cf]"
/* SCSS */
$brand: #2c81cf;
/* SwiftUI */
Color(red: 0.173, green: 0.506, blue: 0.812)
/* Android */
Color.parseColor("#2c81cf")
/* Flutter */
Color(0xFF2C81CF)
/* Python / OpenCV (BGR) */
(207, 129, 44)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. #2c81cf 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: #F3F8FB;
--brand-100: #E8F0F7;
--brand-200: #CBDFF1;
--brand-300: #A2C8EB;
--brand-400: #74ADE1;
--brand-500: #4692D8;
--brand-600: #2c81cf;
--brand-700: #2469A8;
--brand-800: #1D5487;
--brand-900: #193F62;
--brand-950: #0F273D;
--brand: #2c81cf;
--brand-ink: #000000;
}Colors that work with #2c81cf
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 #2c81cf
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 | #CF7A2C | Directly opposite — maximum tension | |
| Analogous left | #2CCFCB | Neighbour, quieter | |
| Analogous right | #2C30CF | Neighbour, quieter | |
| Split-complement 1 | #CF2C30 | Contrast without the clash | |
| Split-complement 2 | #CFCB2C | Contrast without the clash | |
| Triadic 1 | #CF2C81 | Even thirds — balanced and loud | |
| Triadic 2 | #81CF2C | Even thirds — balanced and loud | |
| Tetradic | #CB2CCF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#2c81cf text on a black background
contrast 5.15:1
#2c81cf text on a white background
contrast 4.08:1
CSS3 live lab
The quick brown fox
color: #2c81cf;
background-color: #2c81cf;
Glowing headline
text-shadow: 2px 2px 8px #2c81cf;
Soft neon halo
text-shadow: 0 0 14px rgba(44, 129, 207, 0.45);
box-shadow: 0 12px 32px -8px rgba(44, 129, 207, 0.45);
border: 3px solid #2c81cf; background: linear-gradient(135deg, #2c81cf, #442CCF);
Monochromatic scale
Palettes built from #2c81cf
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 3.2 away, with its history, psychology and brand usage.
#2c81cf 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.
#2c81cf, answered
What color is #2c81cf?
#2c81cf is a balanced vivid blue, closest to Steel Blue (ΔE2000 3.2). It sits at 209° on the hue wheel with 65% saturation and 49% lightness, which reads as cool.
What is the RGB value of #2c81cf?
rgb(44, 129, 207) — 44 red, 129 green and 207 blue out of 255, or 17.3% / 50.6% / 81.2% by channel.
Is #2c81cf a light or a dark color?
It is a mid-tone. Relative luminance is 0.2074 and perceived brightness is 48%, so black text on it reaches 5.15:1.
Should I use black or white text on #2c81cf?
Black. It scores 5.15:1 against #2c81cf, versus 4.08:1 for white — AA at any size.
What is the complementary color of #2c81cf?
#CF7A2C sits directly opposite on the wheel. Softer options are the split-complements #CF2C30 and #CFCB2C, which give the same contrast with far less vibration.
What colors go well with #2c81cf?
For interface work: #F4F7FA as the surface, #C0D7ED for borders, #4B749B for secondary text, #D44E27 as an accent and #164269 for hover and pressed states. For a palette, the analogous pair #2CCFCB and #2C30CF stays calm, while #CF7A2C is the loudest partner.
What is #2c81cf in CMYK for printing?
cmyk(79%, 38%, 0%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #2c81cf 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 #2C45CF; nudged cooler, #2570BC.