Skip to content

#2c3db4

a dark, vivid blue · cool · closest name: Dark Slate Blue

RGB
44, 61, 180
HSL
233°, 61%, 44%
CMYK
76, 66, 0, 29
Luminance
0.0717

At a glance

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

Hex
#2c3db4
Hue
233°
blue
Saturation
61%
vivid
Lightness
44%
dark
Brightness
71%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0717
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.63:1
Closest name
Dark Slate Blue
ΔE2000 7.6
Where it sits
Hue233° of 360°
Saturation61%
Lightness44%
Temperature
Warm ← → Cool88% 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#2c3db4
RGBrgb(44, 61, 180)
HSLhsl(233, 61%, 44%)
CMYKcmyk(76%, 66%, 0%, 29%)
LABlab(32.2 35.5 -64.8)
LCHlch(32.2 73.9 298.8)
OKLCHoklch(0.430 0.187 269.9)
Decimal2899380
Display P3color(display-p3 0.173 0.239 0.706)

Copy-ready code

/* CSS */
color: #2c3db4;
background-color: #2c3db4;
/* Tailwind (arbitrary) */
class="text-[#2c3db4] bg-[#2c3db4]"
/* SCSS */
$brand: #2c3db4;
/* SwiftUI */
Color(red: 0.173, green: 0.239, blue: 0.706)
/* Android */
Color.parseColor("#2c3db4")
/* Flutter */
Color(0xFF2C3DB4)
/* Python / OpenCV (BGR) */
(180, 61, 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 #2c3db4 · 8.63:1
Use #ffffffAAA at every size.
Aa
White text · 8.63:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.43:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2c3db4 as text scores 8.63:1 on white and 2.43:1 on black.

Accessibility — WCAG contrast

Aa
#2c3db4 on white: 8.63:1
AA ✓ pass · AA-large · AAA
Aa
#2c3db4 on black: 2.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052B8
deuteranopia · #0045B2
tritanopia · #005D73

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2c3db4 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F5FB
#E8EAF7
#CCD1F0
#A5ADE9
#7885DE
#4B5CD3
#3043C5
#2c3db4
#202C83
#1B245F
#11163C
Base = 700Lightest = 50 · #F4F5FBDarkest = 950 · #11163C
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8EAF7;
  --brand-200: #CCD1F0;
  --brand-300: #A5ADE9;
  --brand-400: #7885DE;
  --brand-500: #4B5CD3;
  --brand-600: #3043C5;
  --brand-700: #2c3db4;
  --brand-800: #202C83;
  --brand-900: #1B245F;
  --brand-950: #11163C;
  --brand: #2c3db4;
  --brand-ink: #ffffff;
}

Colors that work with #2c3db4

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#C0C5ED
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#B88228
Second voice, not a rival
Dark variant#192366
Hover, pressed, headers
Light variant#EBECFA
Selected rows, tints
Dark surface#141624
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 #2c3db4

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#B4A32C
Analogous left#2C81B4
Analogous right#5F2CB4
Split-complement 1#B45F2C
Split-complement 2#81B42C
Triadic 1#B42C3D
Triadic 2#3DB42C
Tetradic#B42C81

RGB percentages

Red17.3%
Green23.9%
Blue70.6%

CMYK percentages

Cyan75.6%
Magenta66.1%
Yellow0.0%
Key (black)29.4%

Color previews

#2c3db4 text on a black background

contrast 2.43:1

Card sample

#2c3db4 text on a white background

contrast 8.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 61, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 61, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c3db4;
background: linear-gradient(135deg, #2c3db4, #762CB4);

Monochromatic scale

Palettes built from #2c3db4

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.

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

#2c3db4, answered

What color is #2c3db4?

#2c3db4 is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 7.6). It sits at 233° on the hue wheel with 61% saturation and 44% lightness, which reads as cool.

What is the RGB value of #2c3db4?

rgb(44, 61, 180) — 44 red, 61 green and 180 blue out of 255, or 17.3% / 23.9% / 70.6% by channel.

Is #2c3db4 a light or a dark color?

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

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

White. It scores 8.63:1 against #2c3db4, versus 2.43:1 for black — AAA at any size.

What is the complementary color of #2c3db4?

#B4A32C sits directly opposite on the wheel. Softer options are the split-complements #B45F2C and #81B42C, which give the same contrast with far less vibration.

What colors go well with #2c3db4?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B559B for secondary text, #B88228 as an accent and #192366 for hover and pressed states. For a palette, the analogous pair #2C81B4 and #5F2CB4 stays calm, while #B4A32C is the loudest partner.

What is #2c3db4 in CMYK for printing?

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

Is #2c3db4 warm or cool?

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

Work with #2c3db4 in the Color Lab