Skip to content

#2d24fd

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

RGB
45, 36, 253
HSL
243°, 98%, 57%
CMYK
82, 86, 0, 1
Luminance
0.0891

At a glance

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

Hex
#2d24fd
Hue
243°
blue
Saturation
98%
electric
Lightness
57%
balanced
Brightness
99%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0891
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.55:1
Closest name
Blue
ΔE2000 3.3
Where it sits
Hue243° of 360°
Saturation98%
Lightness57%
Temperature
Warm ← → Cool82% 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#2d24fd
RGBrgb(45, 36, 253)
HSLhsl(243, 98%, 57%)
CMYKcmyk(82%, 86%, 0%, 1%)
LABlab(35.8 71.3 -100.8)
LCHlch(35.8 123.5 305.2)
OKLCHoklch(0.478 0.292 269.2)
Decimal2958589
Display P3color(display-p3 0.176 0.141 0.992)

Copy-ready code

/* CSS */
color: #2d24fd;
background-color: #2d24fd;
/* Tailwind (arbitrary) */
class="text-[#2d24fd] bg-[#2d24fd]"
/* SCSS */
$brand: #2d24fd;
/* SwiftUI */
Color(red: 0.176, green: 0.141, blue: 0.992)
/* Android */
Color.parseColor("#2d24fd")
/* Flutter */
Color(0xFF2D24FD)
/* Python / OpenCV (BGR) */
(253, 36, 45)

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 #2d24fd · 7.55:1
Use #ffffffAAA at every size.
Aa
White text · 7.55:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.78:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2d24fd as text scores 7.55:1 on white and 2.78:1 on black.

Accessibility — WCAG contrast

Aa
#2d24fd on white: 7.55:1
AA ✓ pass · AA-large · AAA
Aa
#2d24fd on black: 2.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005FFF
deuteranopia · #0049FA
tritanopia · #006F97

Color scale — 50 to 950

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

#F2F1FD
#E4E3FC
#C3C1FB
#9490FE
#5F58FD
#2d24fd
#0C02F3
#0A02CA
#0801A2
#0B0674
#070449
Base = 500Lightest = 50 · #F2F1FDDarkest = 950 · #070449
:root {
  --brand-50: #F2F1FD;
  --brand-100: #E4E3FC;
  --brand-200: #C3C1FB;
  --brand-300: #9490FE;
  --brand-400: #5F58FD;
  --brand-500: #2d24fd;
  --brand-600: #0C02F3;
  --brand-700: #0A02CA;
  --brand-800: #0801A2;
  --brand-900: #0B0674;
  --brand-950: #070449;
  --brand: #2d24fd;
  --brand-ink: #ffffff;
}

Colors that work with #2d24fd

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#F5F4FA
Tinted page background
Border#C2C0ED
Hairlines and dividers
Muted text#4E4B9B
Captions on the surface
Accent#CCA200
Second voice, not a rival
Dark variant#06017E
Hover, pressed, headers
Light variant#E7E6FF
Selected rows, tints
Dark surface#141424
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 #2d24fd

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#F4FD24
Analogous left#2488FD
Analogous right#9A24FD
Split-complement 1#FD9A24
Split-complement 2#88FD24
Triadic 1#FD2D24
Triadic 2#24FD2D
Tetradic#FD2488

RGB percentages

Red17.6%
Green14.1%
Blue99.2%

CMYK percentages

Cyan82.2%
Magenta85.8%
Yellow0.0%
Key (black)0.8%

Color previews

#2d24fd text on a black background

contrast 2.78:1

Card sample

#2d24fd text on a white background

contrast 7.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 36, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 36, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d24fd;
background: linear-gradient(135deg, #2d24fd, #BE24FD);

Monochromatic scale

Palettes built from #2d24fd

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.

#2d24fd 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#2d24fd, answered

What color is #2d24fd?

#2d24fd is a balanced electric blue, closest to Blue (ΔE2000 3.3). It sits at 243° on the hue wheel with 98% saturation and 57% lightness, which reads as cool.

What is the RGB value of #2d24fd?

rgb(45, 36, 253) — 45 red, 36 green and 253 blue out of 255, or 17.6% / 14.1% / 99.2% by channel.

Is #2d24fd a light or a dark color?

It is a dark color. Relative luminance is 0.0891 and perceived brightness is 37%, so white text on it reaches 7.55:1.

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

White. It scores 7.55:1 against #2d24fd, versus 2.78:1 for black — AAA at any size.

What is the complementary color of #2d24fd?

#F4FD24 sits directly opposite on the wheel. Softer options are the split-complements #FD9A24 and #88FD24, which give the same contrast with far less vibration.

What colors go well with #2d24fd?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4E4B9B for secondary text, #CCA200 as an accent and #06017E for hover and pressed states. For a palette, the analogous pair #2488FD and #9A24FD stays calm, while #F4FD24 is the loudest partner.

What is #2d24fd in CMYK for printing?

cmyk(82%, 86%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #2d24fd warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7D24FD; nudged cooler, #224FFF.

Work with #2d24fd in the Color Lab