Skip to content

#2f3ddc

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

RGB
47, 61, 220
HSL
235°, 71%, 52%
CMYK
79, 72, 0, 14
Luminance
0.0911

At a glance

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

Hex
#2f3ddc
Hue
235°
blue
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0911
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.44:1
Closest name
Blue
ΔE2000 7.6
Where it sits
Hue235° of 360°
Saturation71%
Lightness52%
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#2f3ddc
RGBrgb(47, 61, 220)
HSLhsl(235, 71%, 52%)
CMYKcmyk(79%, 72%, 0%, 14%)
LABlab(36.2 49.7 -81.5)
LCHlch(36.2 95.5 301.4)
OKLCHoklch(0.471 0.236 269.6)
Decimal3096028
Display P3color(display-p3 0.184 0.239 0.863)

Copy-ready code

/* CSS */
color: #2f3ddc;
background-color: #2f3ddc;
/* Tailwind (arbitrary) */
class="text-[#2f3ddc] bg-[#2f3ddc]"
/* SCSS */
$brand: #2f3ddc;
/* SwiftUI */
Color(red: 0.184, green: 0.239, blue: 0.863)
/* Android */
Color.parseColor("#2f3ddc")
/* Flutter */
Color(0xFF2F3DDC)
/* Python / OpenCV (BGR) */
(220, 61, 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 #2f3ddc · 7.44:1
Use #ffffffAAA at every size.
Aa
White text · 7.44:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.82:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2f3ddc as text scores 7.44:1 on white and 2.82:1 on black.

Accessibility — WCAG contrast

Aa
#2f3ddc on white: 7.44:1
AA ✓ pass · AA-large · AAA
Aa
#2f3ddc on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EE1
deuteranopia · #004DD9
tritanopia · #006B89

Color scale — 50 to 950

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

#F3F4FC
#E7E9F8
#C9CCF3
#9FA5EF
#6F79E7
#2f3ddc
#2331D2
#1D29AF
#18218C
#151C65
#0D113F
Base = 500Lightest = 50 · #F3F4FCDarkest = 950 · #0D113F
:root {
  --brand-50: #F3F4FC;
  --brand-100: #E7E9F8;
  --brand-200: #C9CCF3;
  --brand-300: #9FA5EF;
  --brand-400: #6F79E7;
  --brand-500: #2f3ddc;
  --brand-600: #2331D2;
  --brand-700: #1D29AF;
  --brand-800: #18218C;
  --brand-900: #151C65;
  --brand-950: #0D113F;
  --brand: #2f3ddc;
  --brand-ink: #ffffff;
}

Colors that work with #2f3ddc

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#B38019
Second voice, not a rival
Dark variant#121A6D
Hover, pressed, headers
Light variant#E9EBFB
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 #2f3ddc

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#DCCE2F
Analogous left#2F94DC
Analogous right#782FDC
Split-complement 1#DC782F
Split-complement 2#94DC2F
Triadic 1#DC2F3D
Triadic 2#3DDC2F
Tetradic#DC2F94

RGB percentages

Red18.4%
Green23.9%
Blue86.3%

CMYK percentages

Cyan78.6%
Magenta72.3%
Yellow0.0%
Key (black)13.7%

Color previews

#2f3ddc text on a black background

contrast 2.82:1

Card sample

#2f3ddc text on a white background

contrast 7.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 61, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 61, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f3ddc;
background: linear-gradient(135deg, #2f3ddc, #942FDC);

Monochromatic scale

Palettes built from #2f3ddc

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.

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

#2f3ddc, answered

What color is #2f3ddc?

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

What is the RGB value of #2f3ddc?

rgb(47, 61, 220) — 47 red, 61 green and 220 blue out of 255, or 18.4% / 23.9% / 86.3% by channel.

Is #2f3ddc a light or a dark color?

It is a dark color. Relative luminance is 0.0911 and perceived brightness is 36%, so white text on it reaches 7.44:1.

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

White. It scores 7.44:1 against #2f3ddc, versus 2.82:1 for black — AAA at any size.

What is the complementary color of #2f3ddc?

#DCCE2F sits directly opposite on the wheel. Softer options are the split-complements #DC782F and #94DC2F, which give the same contrast with far less vibration.

What colors go well with #2f3ddc?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B519B for secondary text, #B38019 as an accent and #121A6D for hover and pressed states. For a palette, the analogous pair #2F94DC and #782FDC stays calm, while #DCCE2F is the loudest partner.

What is #2f3ddc in CMYK for printing?

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

Is #2f3ddc 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 #602FDC; nudged cooler, #2D60DE.

Work with #2f3ddc in the Color Lab