Skip to content

#2e2cd2

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

RGB
46, 44, 210
HSL
241°, 65%, 50%
CMYK
78, 79, 0, 18
Luminance
0.0704

At a glance

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

Hex
#2e2cd2
Hue
241°
blue
Saturation
65%
vivid
Lightness
50%
balanced
Brightness
82%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0704
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.72:1
Closest name
Blue
ΔE2000 5.4
Where it sits
Hue241° of 360°
Saturation65%
Lightness50%
Temperature
Warm ← → Cool83% 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#2e2cd2
RGBrgb(46, 44, 210)
HSLhsl(241, 65%, 50%)
CMYKcmyk(78%, 79%, 0%, 18%)
LABlab(31.9 55.5 -82.8)
LCHlch(31.9 99.7 303.8)
OKLCHoklch(0.437 0.240 271.1)
Decimal3026130
Display P3color(display-p3 0.180 0.173 0.824)

Copy-ready code

/* CSS */
color: #2e2cd2;
background-color: #2e2cd2;
/* Tailwind (arbitrary) */
class="text-[#2e2cd2] bg-[#2e2cd2]"
/* SCSS */
$brand: #2e2cd2;
/* SwiftUI */
Color(red: 0.180, green: 0.173, blue: 0.824)
/* Android */
Color.parseColor("#2e2cd2")
/* Flutter */
Color(0xFF2E2CD2)
/* Python / OpenCV (BGR) */
(210, 44, 46)

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

Accessibility — WCAG contrast

Aa
#2e2cd2 on white: 8.72:1
AA ✓ pass · AA-large · AAA
Aa
#2e2cd2 on black: 2.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0053D7
deuteranopia · #0042CF
tritanopia · #00607F

Color scale — 50 to 950

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

#F4F3FB
#E8E8F8
#CBCBF1
#A3A2EC
#7574E2
#4745D8
#2e2cd2
#2523A9
#1D1C87
#191862
#100F3D
Base = 600Lightest = 50 · #F4F3FBDarkest = 950 · #100F3D
:root {
  --brand-50: #F4F3FB;
  --brand-100: #E8E8F8;
  --brand-200: #CBCBF1;
  --brand-300: #A3A2EC;
  --brand-400: #7574E2;
  --brand-500: #4745D8;
  --brand-600: #2e2cd2;
  --brand-700: #2523A9;
  --brand-800: #1D1C87;
  --brand-900: #191862;
  --brand-950: #100F3D;
  --brand: #2e2cd2;
  --brand-ink: #ffffff;
}

Colors that work with #2e2cd2

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#F4F4FA
Tinted page background
Border#C0C0ED
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#AD8B1F
Second voice, not a rival
Dark variant#171669
Hover, pressed, headers
Light variant#EAEAFB
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 #2e2cd2

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#D0D22C
Analogous left#2C7DD2
Analogous right#812CD2
Split-complement 1#D2812C
Split-complement 2#7DD22C
Triadic 1#D22E2C
Triadic 2#2CD22E
Tetradic#D22C7D

RGB percentages

Red18.0%
Green17.3%
Blue82.4%

CMYK percentages

Cyan78.1%
Magenta79.0%
Yellow0.0%
Key (black)17.6%

Color previews

#2e2cd2 text on a black background

contrast 2.41:1

Card sample

#2e2cd2 text on a white background

contrast 8.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 44, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 44, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e2cd2;
background: linear-gradient(135deg, #2e2cd2, #9D2CD2);

Monochromatic scale

Palettes built from #2e2cd2

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.

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

#2e2cd2, answered

What color is #2e2cd2?

#2e2cd2 is a balanced vivid blue, closest to Blue (ΔE2000 5.4). It sits at 241° on the hue wheel with 65% saturation and 50% lightness, which reads as cool.

What is the RGB value of #2e2cd2?

rgb(46, 44, 210) — 46 red, 44 green and 210 blue out of 255, or 18% / 17.3% / 82.4% by channel.

Is #2e2cd2 a light or a dark color?

It is a dark color. Relative luminance is 0.0704 and perceived brightness is 32%, so white text on it reaches 8.72:1.

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

White. It scores 8.72:1 against #2e2cd2, versus 2.41:1 for black — AAA at any size.

What is the complementary color of #2e2cd2?

#D0D22C sits directly opposite on the wheel. Softer options are the split-complements #D2812C and #7DD22C, which give the same contrast with far less vibration.

What colors go well with #2e2cd2?

For interface work: #F4F4FA as the surface, #C0C0ED for borders, #4C4B9B for secondary text, #AD8B1F as an accent and #171669 for hover and pressed states. For a palette, the analogous pair #2C7DD2 and #812CD2 stays calm, while #D0D22C is the loudest partner.

What is #2e2cd2 in CMYK for printing?

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

Is #2e2cd2 warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B2CD2; nudged cooler, #2954D5.

Work with #2e2cd2 in the Color Lab