Skip to content

#2f44cc

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

RGB
47, 68, 204
HSL
232°, 63%, 49%
CMYK
77, 67, 0, 20
Luminance
0.0910

At a glance

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

Hex
#2f44cc
Hue
232°
blue
Saturation
63%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0910
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.45:1
Closest name
Slate Blue
ΔE2000 9.5
Where it sits
Hue232° of 360°
Saturation63%
Lightness49%
Temperature
Warm ← → Cool88% 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#2f44cc
RGBrgb(47, 68, 204)
HSLhsl(232, 63%, 49%)
CMYKcmyk(77%, 67%, 0%, 20%)
LABlab(36.2 40.0 -72.3)
LCHlch(36.2 82.6 299.0)
OKLCHoklch(0.466 0.209 269.2)
Decimal3097804
Display P3color(display-p3 0.184 0.267 0.800)

Copy-ready code

/* CSS */
color: #2f44cc;
background-color: #2f44cc;
/* Tailwind (arbitrary) */
class="text-[#2f44cc] bg-[#2f44cc]"
/* SCSS */
$brand: #2f44cc;
/* SwiftUI */
Color(red: 0.184, green: 0.267, blue: 0.800)
/* Android */
Color.parseColor("#2f44cc")
/* Flutter */
Color(0xFF2F44CC)
/* Python / OpenCV (BGR) */
(204, 68, 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 #2f44cc · 7.45:1
Use #ffffffAAA at every size.
Aa
White text · 7.45: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: #2f44cc as text scores 7.45:1 on white and 2.82:1 on black.

Accessibility — WCAG contrast

Aa
#2f44cc on white: 7.45:1
AA ✓ pass · AA-large · AAA
Aa
#2f44cc on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DD0
deuteranopia · #004EC9
tritanopia · #006982

Color scale — 50 to 950

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

#F4F5FB
#E8EAF7
#CCD0F0
#A4ADEA
#7684DF
#495BD5
#2f44cc
#2637A6
#1F2C85
#1A2360
#10163C
Base = 600Lightest = 50 · #F4F5FBDarkest = 950 · #10163C
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8EAF7;
  --brand-200: #CCD0F0;
  --brand-300: #A4ADEA;
  --brand-400: #7684DF;
  --brand-500: #495BD5;
  --brand-600: #2f44cc;
  --brand-700: #2637A6;
  --brand-800: #1F2C85;
  --brand-900: #1A2360;
  --brand-950: #10163C;
  --brand: #2f44cc;
  --brand-ink: #ffffff;
}

Colors that work with #2f44cc

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#C0C6ED
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#AA7622
Second voice, not a rival
Dark variant#182368
Hover, pressed, headers
Light variant#EAECFA
Selected rows, tints
Dark surface#141624
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 #2f44cc

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#CCB72F
Analogous left#2F92CC
Analogous right#692FCC
Split-complement 1#CC692F
Split-complement 2#92CC2F
Triadic 1#CC2F44
Triadic 2#44CC2F
Tetradic#CC2F92

RGB percentages

Red18.4%
Green26.7%
Blue80.0%

CMYK percentages

Cyan77.0%
Magenta66.7%
Yellow0.0%
Key (black)20.0%

Color previews

#2f44cc text on a black background

contrast 2.82:1

Card sample

#2f44cc text on a white background

contrast 7.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 68, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 68, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f44cc;
background: linear-gradient(135deg, #2f44cc, #832FCC);

Monochromatic scale

Palettes built from #2f44cc

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.

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

#2f44cc, answered

What color is #2f44cc?

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

What is the RGB value of #2f44cc?

rgb(47, 68, 204) — 47 red, 68 green and 204 blue out of 255, or 18.4% / 26.7% / 80% by channel.

Is #2f44cc a light or a dark color?

It is a dark color. Relative luminance is 0.0910 and perceived brightness is 35%, so white text on it reaches 7.45:1.

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

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

What is the complementary color of #2f44cc?

#CCB72F sits directly opposite on the wheel. Softer options are the split-complements #CC692F and #92CC2F, which give the same contrast with far less vibration.

What colors go well with #2f44cc?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B559B for secondary text, #AA7622 as an accent and #182368 for hover and pressed states. For a palette, the analogous pair #2F92CC and #692FCC stays calm, while #CCB72F is the loudest partner.

What is #2f44cc in CMYK for printing?

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

Is #2f44cc warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #542FCC; nudged cooler, #2D60CE.

Work with #2f44cc in the Color Lab