Skip to content

#2c33eb

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

RGB
44, 51, 235
HSL
238°, 83%, 55%
CMYK
81, 78, 0, 8
Luminance
0.0890

At a glance

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

Hex
#2c33eb
Hue
238°
blue
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0890
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.55:1
Closest name
Blue
ΔE2000 5.2
Where it sits
Hue238° of 360°
Saturation83%
Lightness55%
Temperature
Warm ← → Cool85% 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#2c33eb
RGBrgb(44, 51, 235)
HSLhsl(238, 83%, 55%)
CMYKcmyk(81%, 78%, 0%, 8%)
LABlab(35.8 59.6 -90.7)
LCHlch(35.8 108.6 303.3)
OKLCHoklch(0.472 0.263 269.2)
Decimal2896875
Display P3color(display-p3 0.173 0.200 0.922)

Copy-ready code

/* CSS */
color: #2c33eb;
background-color: #2c33eb;
/* Tailwind (arbitrary) */
class="text-[#2c33eb] bg-[#2c33eb]"
/* SCSS */
$brand: #2c33eb;
/* SwiftUI */
Color(red: 0.173, green: 0.200, blue: 0.922)
/* Android */
Color.parseColor("#2c33eb")
/* Flutter */
Color(0xFF2C33EB)
/* Python / OpenCV (BGR) */
(235, 51, 44)

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 #2c33eb · 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: #2c33eb as text scores 7.55:1 on white and 2.78:1 on black.

Accessibility — WCAG contrast

Aa
#2c33eb on white: 7.55:1
AA ✓ pass · AA-large · AAA
Aa
#2c33eb on black: 2.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EF0
deuteranopia · #004AE8
tritanopia · #006D8F

Color scale — 50 to 950

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

#F2F3FC
#E6E7FA
#C6C7F6
#999CF5
#656AF0
#2c33eb
#151DE0
#1218BA
#0E1395
#0F126C
#090B43
Base = 500Lightest = 50 · #F2F3FCDarkest = 950 · #090B43
:root {
  --brand-50: #F2F3FC;
  --brand-100: #E6E7FA;
  --brand-200: #C6C7F6;
  --brand-300: #999CF5;
  --brand-400: #656AF0;
  --brand-500: #2c33eb;
  --brand-600: #151DE0;
  --brand-700: #1218BA;
  --brand-800: #0E1395;
  --brand-900: #0F126C;
  --brand-950: #090B43;
  --brand: #2c33eb;
  --brand-ink: #ffffff;
}

Colors that work with #2c33eb

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#C0C1ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#BF8C0D
Second voice, not a rival
Dark variant#0B0F74
Hover, pressed, headers
Light variant#E8E8FD
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 #2c33eb

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#EBE42C
Analogous left#2C92EB
Analogous right#842CEB
Split-complement 1#EB842C
Split-complement 2#92EB2C
Triadic 1#EB2C33
Triadic 2#33EB2C
Tetradic#EB2C92

RGB percentages

Red17.3%
Green20.0%
Blue92.2%

CMYK percentages

Cyan81.3%
Magenta78.3%
Yellow0.0%
Key (black)7.8%

Color previews

#2c33eb text on a black background

contrast 2.78:1

Card sample

#2c33eb text on a white background

contrast 7.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 51, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 51, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c33eb;
background: linear-gradient(135deg, #2c33eb, #A42CEB);

Monochromatic scale

Palettes built from #2c33eb

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.

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

#2c33eb, answered

What color is #2c33eb?

#2c33eb is a balanced electric blue, closest to Blue (ΔE2000 5.2). It sits at 238° on the hue wheel with 83% saturation and 55% lightness, which reads as cool.

What is the RGB value of #2c33eb?

rgb(44, 51, 235) — 44 red, 51 green and 235 blue out of 255, or 17.3% / 20% / 92.2% by channel.

Is #2c33eb a light or a dark color?

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

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

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

What is the complementary color of #2c33eb?

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

What colors go well with #2c33eb?

For interface work: #F4F5FA as the surface, #C0C1ED for borders, #4B4E9B for secondary text, #BF8C0D as an accent and #0B0F74 for hover and pressed states. For a palette, the analogous pair #2C92EB and #842CEB stays calm, while #EBE42C is the loudest partner.

What is #2c33eb in CMYK for printing?

cmyk(81%, 78%, 0%, 8%). 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 #2c33eb warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B2CEB; nudged cooler, #2A5CED.

Work with #2c33eb in the Color Lab