Skip to content

#150ace

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

RGB
21, 10, 206
HSL
243°, 91%, 42%
CMYK
90, 95, 0, 19
Luminance
0.0483

At a glance

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

Hex
#150ace
Hue
243°
blue
Saturation
91%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0483
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Electric
Best ink
White
10.68:1
Closest name
Medium Blue
ΔE2000 1
Where it sits
Hue243° of 360°
Saturation91%
Lightness42%
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#150ace
RGBrgb(21, 10, 206)
HSLhsl(243, 91%, 42%)
CMYKcmyk(90%, 95%, 0%, 19%)
LABlab(26.3 65.6 -89.9)
LCHlch(26.3 111.3 306.1)
OKLCHoklch(0.394 0.260 266.6)
Decimal1379022
Display P3color(display-p3 0.082 0.039 0.808)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#150ace on white: 10.68:1
AA ✓ pass · AA-large · AAA
Aa
#150ace on black: 1.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0048D3
deuteranopia · #0033CB
tritanopia · #005679

Color scale — 50 to 950

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

#F2F2FD
#E6E5FB
#C6C3F9
#9A94FA
#675FF7
#3529F5
#180BE9
#150ace
#10089C
#100A70
#0A0646
Base = 700Lightest = 50 · #F2F2FDDarkest = 950 · #0A0646
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E6E5FB;
  --brand-200: #C6C3F9;
  --brand-300: #9A94FA;
  --brand-400: #675FF7;
  --brand-500: #3529F5;
  --brand-600: #180BE9;
  --brand-700: #150ace;
  --brand-800: #10089C;
  --brand-900: #100A70;
  --brand-950: #0A0646;
  --brand: #150ace;
  --brand-ink: #ffffff;
}

Colors that work with #150ace

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#C6A106
Second voice, not a rival
Dark variant#0C067A
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 #150ace

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#C3CE0A
Analogous left#0A61CE
Analogous right#770ACE
Split-complement 1#CE770A
Split-complement 2#61CE0A
Triadic 1#CE150A
Triadic 2#0ACE15
Tetradic#CE0A61

RGB percentages

Red8.2%
Green3.9%
Blue80.8%

CMYK percentages

Cyan89.8%
Magenta95.1%
Yellow0.0%
Key (black)19.2%

Color previews

#150ace text on a black background

contrast 1.97:1

Card sample

#150ace text on a white background

contrast 10.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(21, 10, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(21, 10, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #150ace;
background: linear-gradient(135deg, #150ace, #980ACE);

Monochromatic scale

Palettes built from #150ace

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.

#150ace 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.

#150ace, answered

What color is #150ace?

#150ace is a dark electric blue, closest to Medium Blue (ΔE2000 1). It sits at 243° on the hue wheel with 91% saturation and 42% lightness, which reads as cool.

What is the RGB value of #150ace?

rgb(21, 10, 206) — 21 red, 10 green and 206 blue out of 255, or 8.2% / 3.9% / 80.8% by channel.

Is #150ace a light or a dark color?

It is a dark color. Relative luminance is 0.0483 and perceived brightness is 28%, so white text on it reaches 10.68:1.

Should I use black or white text on #150ace?

White. It scores 10.68:1 against #150ace, versus 1.97:1 for black — AAA at any size.

What is the complementary color of #150ace?

#C3CE0A sits directly opposite on the wheel. Softer options are the split-complements #CE770A and #61CE0A, which give the same contrast with far less vibration.

What colors go well with #150ace?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4F4B9B for secondary text, #C6A106 as an accent and #0C067A for hover and pressed states. For a palette, the analogous pair #0A61CE and #770ACE stays calm, while #C3CE0A is the loudest partner.

What is #150ace in CMYK for printing?

cmyk(90%, 95%, 0%, 19%). 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 #150ace 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 #5D0ACE; nudged cooler, #0832D0.

Work with #150ace in the Color Lab