Skip to content

#2e4ace

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

RGB
46, 74, 206
HSL
230°, 64%, 49%
CMYK
78, 64, 0, 19
Luminance
0.0993

At a glance

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

Hex
#2e4ace
Hue
230°
blue
Saturation
64%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0993
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.03:1
Closest name
Slate Blue
ΔE2000 8.8
Where it sits
Hue230° of 360°
Saturation64%
Lightness49%
Temperature
Warm ← → Cool89% 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#2e4ace
RGBrgb(46, 74, 206)
HSLhsl(230, 64%, 49%)
CMYKcmyk(78%, 64%, 0%, 19%)
LABlab(37.7 36.9 -70.9)
LCHlch(37.7 79.9 297.5)
OKLCHoklch(0.478 0.205 268.0)
Decimal3033806
Display P3color(display-p3 0.180 0.290 0.808)

Copy-ready code

/* CSS */
color: #2e4ace;
background-color: #2e4ace;
/* Tailwind (arbitrary) */
class="text-[#2e4ace] bg-[#2e4ace]"
/* SCSS */
$brand: #2e4ace;
/* SwiftUI */
Color(red: 0.180, green: 0.290, blue: 0.808)
/* Android */
Color.parseColor("#2e4ace")
/* Flutter */
Color(0xFF2E4ACE)
/* Python / OpenCV (BGR) */
(206, 74, 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 #2e4ace · 7.03:1
Use #ffffffAAA at every size.
Aa
White text · 7.03:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.99:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2e4ace as text scores 7.03:1 on white and 2.99:1 on black.

Accessibility — WCAG contrast

Aa
#2e4ace on white: 7.03:1
AA ✓ pass · AA-large · AAA
Aa
#2e4ace on black: 2.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060D2
deuteranopia · #0051CC
tritanopia · #006D85

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2e4ace 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
#E8EBF7
#CBD2F0
#A3B0EB
#7588E0
#4860D6
#2e4ace
#253CA7
#1E3085
#192661
#10183D
Base = 600Lightest = 50 · #F4F5FBDarkest = 950 · #10183D
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8EBF7;
  --brand-200: #CBD2F0;
  --brand-300: #A3B0EB;
  --brand-400: #7588E0;
  --brand-500: #4860D6;
  --brand-600: #2e4ace;
  --brand-700: #253CA7;
  --brand-800: #1E3085;
  --brand-900: #192661;
  --brand-950: #10183D;
  --brand: #2e4ace;
  --brand-ink: #ffffff;
}

Colors that work with #2e4ace

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#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#AB7121
Second voice, not a rival
Dark variant#172568
Hover, pressed, headers
Light variant#EAEDFA
Selected rows, tints
Dark surface#141724
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 #2e4ace

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#CEB22E
Analogous left#2E9ACE
Analogous right#622ECE
Split-complement 1#CE622E
Split-complement 2#9ACE2E
Triadic 1#CE2E4A
Triadic 2#4ACE2E
Tetradic#CE2E9A

RGB percentages

Red18.0%
Green29.0%
Blue80.8%

CMYK percentages

Cyan77.7%
Magenta64.1%
Yellow0.0%
Key (black)19.2%

Color previews

#2e4ace text on a black background

contrast 2.99:1

Card sample

#2e4ace text on a white background

contrast 7.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 74, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 74, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e4ace;
background: linear-gradient(135deg, #2e4ace, #7D2ECE);

Monochromatic scale

Palettes built from #2e4ace

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.

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

#2e4ace, answered

What color is #2e4ace?

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

What is the RGB value of #2e4ace?

rgb(46, 74, 206) — 46 red, 74 green and 206 blue out of 255, or 18% / 29% / 80.8% by channel.

Is #2e4ace a light or a dark color?

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

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

White. It scores 7.03:1 against #2e4ace, versus 2.99:1 for black — AAA at any size.

What is the complementary color of #2e4ace?

#CEB22E sits directly opposite on the wheel. Softer options are the split-complements #CE622E and #9ACE2E, which give the same contrast with far less vibration.

What colors go well with #2e4ace?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #AB7121 as an accent and #172568 for hover and pressed states. For a palette, the analogous pair #2E9ACE and #622ECE stays calm, while #CEB22E is the loudest partner.

What is #2e4ace in CMYK for printing?

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

Is #2e4ace warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4D2ECE; nudged cooler, #2B63D0.

Work with #2e4ace in the Color Lab