Skip to content

#2f3bcd

a balanced, vivid blue · cool · closest name: Blue

RGB
47, 59, 205
HSL
235°, 63%, 49%
CMYK
77, 71, 0, 20
Luminance
0.0814

At a glance

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

Hex
#2f3bcd
Hue
235°
blue
Saturation
63%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0814
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.99:1
Closest name
Blue
ΔE2000 8
Where it sits
Hue235° of 360°
Saturation63%
Lightness49%
Temperature
Warm ← → Cool86% 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#2f3bcd
RGBrgb(47, 59, 205)
HSLhsl(235, 63%, 49%)
CMYKcmyk(77%, 71%, 0%, 20%)
LABlab(34.3 45.8 -76.0)
LCHlch(34.3 88.7 301.1)
OKLCHoklch(0.452 0.220 270.3)
Decimal3095501
Display P3color(display-p3 0.184 0.231 0.804)

Copy-ready code

/* CSS */
color: #2f3bcd;
background-color: #2f3bcd;
/* Tailwind (arbitrary) */
class="text-[#2f3bcd] bg-[#2f3bcd]"
/* SCSS */
$brand: #2f3bcd;
/* SwiftUI */
Color(red: 0.184, green: 0.231, blue: 0.804)
/* Android */
Color.parseColor("#2f3bcd")
/* Flutter */
Color(0xFF2F3BCD)
/* Python / OpenCV (BGR) */
(205, 59, 47)

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 #2f3bcd · 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: #2f3bcd as text scores 7.99:1 on white and 2.63:1 on black.

Accessibility — WCAG contrast

Aa
#2f3bcd on white: 7.99:1
AA ✓ pass · AA-large · AAA
Aa
#2f3bcd on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058D1
deuteranopia · #0049CA
tritanopia · #006480

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f3bcd 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.

#F4F4FB
#E8E9F7
#CCCEF0
#A4A9EA
#767EE0
#4853D5
#2f3bcd
#2630A6
#1E2685
#1A1F61
#10143C
Base = 600Lightest = 50 · #F4F4FBDarkest = 950 · #10143C
:root {
  --brand-50: #F4F4FB;
  --brand-100: #E8E9F7;
  --brand-200: #CCCEF0;
  --brand-300: #A4A9EA;
  --brand-400: #767EE0;
  --brand-500: #4853D5;
  --brand-600: #2f3bcd;
  --brand-700: #2630A6;
  --brand-800: #1E2685;
  --brand-900: #1A1F61;
  --brand-950: #10143C;
  --brand: #2f3bcd;
  --brand-ink: #ffffff;
}

Colors that work with #2f3bcd

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#F4F5FA
Tinted page background
Border#C0C3ED
Hairlines and dividers
Muted text#4B519B
Captions on the surface
Accent#AA7E22
Second voice, not a rival
Dark variant#181E68
Hover, pressed, headers
Light variant#EAEBFA
Selected rows, tints
Dark surface#141524
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 #2f3bcd

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#CDC12F
Analogous left#2F8ACD
Analogous right#722FCD
Split-complement 1#CD722F
Split-complement 2#8ACD2F
Triadic 1#CD2F3B
Triadic 2#3BCD2F
Tetradic#CD2F8A

RGB percentages

Red18.4%
Green23.1%
Blue80.4%

CMYK percentages

Cyan77.1%
Magenta71.2%
Yellow0.0%
Key (black)19.6%

Color previews

#2f3bcd text on a black background

contrast 2.63:1

Card sample

#2f3bcd text on a white background

contrast 7.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f3bcd;
Background color
Panel with #2f3bcd background
background-color: #2f3bcd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 59, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 59, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f3bcd;
background: linear-gradient(135deg, #2f3bcd, #8C2FCD);

Monochromatic scale

Palettes built from #2f3bcd

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.

#2f3bcd 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.

#2f3bcd, answered

What color is #2f3bcd?

#2f3bcd is a balanced vivid blue, closest to Blue (ΔE2000 8). It sits at 235° on the hue wheel with 63% saturation and 49% lightness, which reads as cool.

What is the RGB value of #2f3bcd?

rgb(47, 59, 205) — 47 red, 59 green and 205 blue out of 255, or 18.4% / 23.1% / 80.4% by channel.

Is #2f3bcd a light or a dark color?

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

Should I use black or white text on #2f3bcd?

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

What is the complementary color of #2f3bcd?

#CDC12F sits directly opposite on the wheel. Softer options are the split-complements #CD722F and #8ACD2F, which give the same contrast with far less vibration.

What colors go well with #2f3bcd?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B519B for secondary text, #AA7E22 as an accent and #181E68 for hover and pressed states. For a palette, the analogous pair #2F8ACD and #722FCD stays calm, while #CDC12F is the loudest partner.

What is #2f3bcd in CMYK for printing?

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

Is #2f3bcd warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5D2FCD; nudged cooler, #2C5CCF.

Work with #2f3bcd in the Color Lab