Skip to content

#1509da

a dark, electric blue · cool · closest name: Medium Blue

RGB
21, 9, 218
HSL
243°, 92%, 45%
CMYK
90, 96, 0, 15
Luminance
0.0542

At a glance

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

Hex
#1509da
Hue
243°
blue
Saturation
92%
electric
Lightness
45%
dark
Brightness
85%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0542
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Electric
Best ink
White
10.08:1
Closest name
Medium Blue
ΔE2000 2.2
Where it sits
Hue243° of 360°
Saturation92%
Lightness45%
Temperature
Warm ← → Cool81% 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#1509da
RGBrgb(21, 9, 218)
HSLhsl(243, 92%, 45%)
CMYKcmyk(90%, 96%, 0%, 15%)
LABlab(27.9 68.8 -94.2)
LCHlch(27.9 116.6 306.2)
OKLCHoklch(0.409 0.273 266.3)
Decimal1378778
Display P3color(display-p3 0.082 0.035 0.855)

Copy-ready code

/* CSS */
color: #1509da;
background-color: #1509da;
/* Tailwind (arbitrary) */
class="text-[#1509da] bg-[#1509da]"
/* SCSS */
$brand: #1509da;
/* SwiftUI */
Color(red: 0.082, green: 0.035, blue: 0.855)
/* Android */
Color.parseColor("#1509da")
/* Flutter */
Color(0xFF1509DA)
/* Python / OpenCV (BGR) */
(218, 9, 21)

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

Accessibility — WCAG contrast

Aa
#1509da on white: 10.08:1
AA ✓ pass · AA-large · AAA
Aa
#1509da on black: 2.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004CDF
deuteranopia · #0036D7
tritanopia · #005B80

Color scale — 50 to 950

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

#F2F2FD
#E6E4FB
#C6C3F9
#9993FB
#665DF8
#3327F6
#1509da
#1308C4
#0F069D
#0F0971
#0A0647
Base = 600Lightest = 50 · #F2F2FDDarkest = 950 · #0A0647
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E6E4FB;
  --brand-200: #C6C3F9;
  --brand-300: #9993FB;
  --brand-400: #665DF8;
  --brand-500: #3327F6;
  --brand-600: #1509da;
  --brand-700: #1308C4;
  --brand-800: #0F069D;
  --brand-900: #0F0971;
  --brand-950: #0A0647;
  --brand: #1509da;
  --brand-ink: #ffffff;
}

Colors that work with #1509da

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#F5F4FA
Tinted page background
Border#C2C0ED
Hairlines and dividers
Muted text#4F4B9B
Captions on the surface
Accent#C8A204
Second voice, not a rival
Dark variant#0C057A
Hover, pressed, headers
Light variant#E8E7FE
Selected rows, tints
Dark surface#151424
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 #1509da

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#CEDA09
Analogous left#0966DA
Analogous right#7D09DA
Split-complement 1#DA7D09
Split-complement 2#66DA09
Triadic 1#DA1509
Triadic 2#09DA15
Tetradic#DA0966

RGB percentages

Red8.2%
Green3.5%
Blue85.5%

CMYK percentages

Cyan90.4%
Magenta95.9%
Yellow0.0%
Key (black)14.5%

Color previews

#1509da text on a black background

contrast 2.08:1

Card sample

#1509da text on a white background

contrast 10.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(21, 9, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(21, 9, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1509da;
background: linear-gradient(135deg, #1509da, #A009DA);

Monochromatic scale

Palettes built from #1509da

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.

#1509da 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.

#1509da, answered

What color is #1509da?

#1509da is a dark electric blue, closest to Medium Blue (ΔE2000 2.2). It sits at 243° on the hue wheel with 92% saturation and 45% lightness, which reads as cool.

What is the RGB value of #1509da?

rgb(21, 9, 218) — 21 red, 9 green and 218 blue out of 255, or 8.2% / 3.5% / 85.5% by channel.

Is #1509da a light or a dark color?

It is a dark color. Relative luminance is 0.0542 and perceived brightness is 29%, so white text on it reaches 10.08:1.

Should I use black or white text on #1509da?

White. It scores 10.08:1 against #1509da, versus 2.08:1 for black — AAA at any size.

What is the complementary color of #1509da?

#CEDA09 sits directly opposite on the wheel. Softer options are the split-complements #DA7D09 and #66DA09, which give the same contrast with far less vibration.

What colors go well with #1509da?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4F4B9B for secondary text, #C8A204 as an accent and #0C057A for hover and pressed states. For a palette, the analogous pair #0966DA and #7D09DA stays calm, while #CEDA09 is the loudest partner.

What is #1509da in CMYK for printing?

cmyk(90%, 96%, 0%, 15%). 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 #1509da warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6109DA; nudged cooler, #0732DC.

Work with #1509da in the Color Lab