Skip to content

#3a3eee

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

RGB
58, 62, 238
HSL
239°, 84%, 58%
CMYK
76, 74, 0, 7
Luminance
0.1052

At a glance

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

Hex
#3a3eee
Hue
239°
blue
Saturation
84%
electric
Lightness
58%
balanced
Brightness
93%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1052
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.77:1
Closest name
Blue
ΔE2000 7.5
Where it sits
Hue239° of 360°
Saturation84%
Lightness58%
Temperature
Warm ← → Cool84% 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#3a3eee
RGBrgb(58, 62, 238)
HSLhsl(239, 84%, 58%)
CMYKcmyk(76%, 74%, 0%, 7%)
LABlab(38.8 55.8 -87.5)
LCHlch(38.8 103.8 302.5)
OKLCHoklch(0.496 0.253 271.4)
Decimal3817198
Display P3color(display-p3 0.227 0.243 0.933)

Copy-ready code

/* CSS */
color: #3a3eee;
background-color: #3a3eee;
/* Tailwind (arbitrary) */
class="text-[#3a3eee] bg-[#3a3eee]"
/* SCSS */
$brand: #3a3eee;
/* SwiftUI */
Color(red: 0.227, green: 0.243, blue: 0.933)
/* Android */
Color.parseColor("#3a3eee")
/* Flutter */
Color(0xFF3A3EEE)
/* Python / OpenCV (BGR) */
(238, 62, 58)

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 #3a3eee · 6.77:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.77:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.10:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3a3eee as text scores 6.77:1 on white and 3.10:1 on black.

Accessibility — WCAG contrast

Aa
#3a3eee on white: 6.77:1
AA ✓ pass · AA-large · AAA
Aa
#3a3eee on black: 3.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064F3
deuteranopia · #0052EB
tritanopia · #007293

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3a3eee 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
#E6E6FA
#C5C6F6
#989AF6
#6467F2
#3a3eee
#1318E1
#1014BC
#0D1096
#0E106D
#090A44
Base = 500Lightest = 50 · #F2F3FCDarkest = 950 · #090A44
:root {
  --brand-50: #F2F3FC;
  --brand-100: #E6E6FA;
  --brand-200: #C5C6F6;
  --brand-300: #989AF6;
  --brand-400: #6467F2;
  --brand-500: #3a3eee;
  --brand-600: #1318E1;
  --brand-700: #1014BC;
  --brand-800: #0D1096;
  --brand-900: #0E106D;
  --brand-950: #090A44;
  --brand: #3a3eee;
  --brand-ink: #ffffff;
}

Colors that work with #3a3eee

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#C0C1ED
Hairlines and dividers
Muted text#4B4C9B
Captions on the surface
Accent#C08F0C
Second voice, not a rival
Dark variant#0A0C75
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 #3a3eee

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
  • 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#EEEA3A
Analogous left#3A98EE
Analogous right#903AEE
Split-complement 1#EE903A
Split-complement 2#98EE3A
Triadic 1#EE3A3E
Triadic 2#3EEE3A
Tetradic#EE3A98

RGB percentages

Red22.7%
Green24.3%
Blue93.3%

CMYK percentages

Cyan75.6%
Magenta73.9%
Yellow0.0%
Key (black)6.7%

Color previews

#3a3eee text on a black background

contrast 3.10:1

Card sample

#3a3eee text on a white background

contrast 6.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3a3eee;
Background color
Panel with #3a3eee background
background-color: #3a3eee;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 62, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 62, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a3eee;
background: linear-gradient(135deg, #3a3eee, #AE3AEE);

Monochromatic scale

Palettes built from #3a3eee

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.

#3a3eee 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.

#3a3eee, answered

What color is #3a3eee?

#3a3eee is a balanced electric blue, closest to Blue (ΔE2000 7.5). It sits at 239° on the hue wheel with 84% saturation and 58% lightness, which reads as cool.

What is the RGB value of #3a3eee?

rgb(58, 62, 238) — 58 red, 62 green and 238 blue out of 255, or 22.7% / 24.3% / 93.3% by channel.

Is #3a3eee a light or a dark color?

It is a dark color. Relative luminance is 0.1052 and perceived brightness is 39%, so white text on it reaches 6.77:1.

Should I use black or white text on #3a3eee?

White. It scores 6.77:1 against #3a3eee, versus 3.10:1 for black — AA at any size.

What is the complementary color of #3a3eee?

#EEEA3A sits directly opposite on the wheel. Softer options are the split-complements #EE903A and #98EE3A, which give the same contrast with far less vibration.

What colors go well with #3a3eee?

For interface work: #F4F4FA as the surface, #C0C1ED for borders, #4B4C9B for secondary text, #C08F0C as an accent and #0A0C75 for hover and pressed states. For a palette, the analogous pair #3A98EE and #903AEE stays calm, while #EEEA3A is the loudest partner.

What is #3a3eee in CMYK for printing?

cmyk(76%, 74%, 0%, 7%). 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 #3a3eee warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #783AEE; nudged cooler, #3867F0.

Work with #3a3eee in the Color Lab