Skip to content

#050430

a deep, electric blue · cool · closest name: Midnight Blue

RGB
5, 4, 48
HSL
241°, 85%, 10%
CMYK
90, 92, 0, 81
Luminance
0.0033

At a glance

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

Hex
#050430
Hue
241°
blue
Saturation
85%
electric
Lightness
10%
deep
Brightness
19%
HSV value
Perceived
7%
weighted brightness
Luminance
0.0033
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Electric
Best ink
White
19.69:1
Closest name
Midnight Blue
ΔE2000 12.1
Where it sits
Hue241° of 360°
Saturation85%
Lightness10%
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#050430
RGBrgb(5, 4, 48)
HSLhsl(241, 85%, 10%)
CMYKcmyk(90%, 92%, 0%, 81%)
LABlab(3.0 13.3 -26.4)
LCHlch(3.0 29.6 296.6)
OKLCHoklch(0.158 0.085 272.4)
Decimal328752
Display P3color(display-p3 0.020 0.016 0.188)

Copy-ready code

/* CSS */
color: #050430;
background-color: #050430;
/* Tailwind (arbitrary) */
class="text-[#050430] bg-[#050430]"
/* SCSS */
$brand: #050430;
/* SwiftUI */
Color(red: 0.020, green: 0.016, blue: 0.188)
/* Android */
Color.parseColor("#050430")
/* Flutter */
Color(0xFF050430)
/* Python / OpenCV (BGR) */
(48, 4, 5)

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

Accessibility — WCAG contrast

Aa
#050430 on white: 19.69:1
AA ✓ pass · AA-large · AAA
Aa
#050430 on black: 1.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #000D31
deuteranopia · #00092F
tritanopia · #001019

Color scale — 50 to 950

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

#F2F2FC
#E6E6FA
#C6C5F7
#9A97F6
#6764F2
#3430EE
#1813E2
#1410BC
#100D97
#100E6D
#050430
Base = 950Lightest = 50 · #F2F2FCDarkest = 950 · #050430
:root {
  --brand-50: #F2F2FC;
  --brand-100: #E6E6FA;
  --brand-200: #C6C5F7;
  --brand-300: #9A97F6;
  --brand-400: #6764F2;
  --brand-500: #3430EE;
  --brand-600: #1813E2;
  --brand-700: #1410BC;
  --brand-800: #100D97;
  --brand-900: #100E6D;
  --brand-950: #050430;
  --brand: #050430;
  --brand-ink: #ffffff;
}

Colors that work with #050430

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#C1C0ED
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#312703
Second voice, not a rival
Dark variant#0C0A76
Hover, pressed, headers
Light variant#E8E7FD
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 #050430

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#2F3004
Analogous left#041930
Analogous right#1B0430
Split-complement 1#301B04
Split-complement 2#193004
Triadic 1#300504
Triadic 2#043005
Tetradic#300419

RGB percentages

Red2.0%
Green1.6%
Blue18.8%

CMYK percentages

Cyan89.6%
Magenta91.7%
Yellow0.0%
Key (black)81.2%

Color previews

#050430 text on a black background

contrast 1.07:1

Card sample

#050430 text on a white background

contrast 19.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(5, 4, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 4, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #050430;
background: linear-gradient(135deg, #050430, #220430);

Monochromatic scale

Palettes built from #050430

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.

#050430 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.

#050430, answered

What color is #050430?

#050430 is a deep electric blue, closest to Midnight Blue (ΔE2000 12.1). It sits at 241° on the hue wheel with 85% saturation and 10% lightness, which reads as cool.

What is the RGB value of #050430?

rgb(5, 4, 48) — 5 red, 4 green and 48 blue out of 255, or 2% / 1.6% / 18.8% by channel.

Is #050430 a light or a dark color?

It is a dark color. Relative luminance is 0.0033 and perceived brightness is 7%, so white text on it reaches 19.69:1.

Should I use black or white text on #050430?

White. It scores 19.69:1 against #050430, versus 1.07:1 for black — AAA at any size.

What is the complementary color of #050430?

#2F3004 sits directly opposite on the wheel. Softer options are the split-complements #301B04 and #193004, which give the same contrast with far less vibration.

What colors go well with #050430?

For interface work: #F4F4FA as the surface, #C1C0ED for borders, #4C4B9B for secondary text, #312703 as an accent and #0C0A76 for hover and pressed states. For a palette, the analogous pair #041930 and #1B0430 stays calm, while #2F3004 is the loudest partner.

What is #050430 in CMYK for printing?

cmyk(90%, 92%, 0%, 81%). 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 #050430 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 #150430; nudged cooler, #031331.

Work with #050430 in the Color Lab