Skip to content

#1803cc

a dark, electric blue · cool · “Medium Blue”

RGB
24, 3, 204
HSL
246°, 97%, 41%
CMYK
88, 99, 0, 20
Luminance
0.0462

At a glance

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

Hex
#1803cc
Hue
246°
blue
Saturation
97%
electric
Lightness
41%
dark
Brightness
80%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0462
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
10.92:1
Closest name
Medium Blue
ΔE2000 0.6
Where it sits
Hue246° of 360°
Saturation97%
Lightness41%
Temperature
Warm ← → Cool80% 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#1803cc
RGBrgb(24, 3, 204)
HSLhsl(246, 97%, 41%)
CMYKcmyk(88%, 99%, 0%, 20%)
LABlab(25.6 66.5 -89.8)
LCHlch(25.6 111.8 306.5)
OKLCHoklch(0.389 0.260 267.2)
Decimal1573836
Display P3color(display-p3 0.094 0.012 0.800)

Copy-ready code

/* CSS */
color: #1803cc;
background-color: #1803cc;
/* Tailwind (arbitrary) */
class="text-[#1803cc] bg-[#1803cc]"
/* SCSS */
$brand: #1803cc;
/* SwiftUI */
Color(red: 0.094, green: 0.012, blue: 0.800)
/* Android */
Color.parseColor("#1803cc")
/* Flutter */
Color(0xFF1803CC)
/* Python / OpenCV (BGR) */
(204, 3, 24)

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

Accessibility — WCAG contrast

Aa
#1803cc on white: 10.92:1
AA ✓ pass · AA-large · AAA
Aa
#1803cc on black: 1.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0046D1
deuteranopia · #0032C9
tritanopia · #005477

Color scale — 50 to 950

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

#F3F1FD
#E6E4FC
#C7C1FB
#9C90FD
#6A59FD
#3922FC
#1D04F1
#1803cc
#1302A1
#120774
#0B0448
Base = 700Lightest = 50 · #F3F1FDDarkest = 950 · #0B0448
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E6E4FC;
  --brand-200: #C7C1FB;
  --brand-300: #9C90FD;
  --brand-400: #6A59FD;
  --brand-500: #3922FC;
  --brand-600: #1D04F1;
  --brand-700: #1803cc;
  --brand-800: #1302A1;
  --brand-900: #120774;
  --brand-950: #0B0448;
  --brand: #1803cc;
  --brand-ink: #ffffff;
}

Colors that work with #1803cc

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#C4C0ED
Hairlines and dividers
Muted text#534B9B
Captions on the surface
Accent#CCAE00
Second voice, not a rival
Dark variant#0F027E
Hover, pressed, headers
Light variant#E8E6FF
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 #1803cc

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#B7CC03
Analogous left#0352CC
Analogous right#7D03CC
Split-complement 1#CC7D03
Split-complement 2#52CC03
Triadic 1#CC1803
Triadic 2#03CC18
Tetradic#CC0352

RGB percentages

Red9.4%
Green1.2%
Blue80.0%

CMYK percentages

Cyan88.2%
Magenta98.5%
Yellow0.0%
Key (black)20.0%

Color previews

#1803cc text on a black background

contrast 1.92:1

Card sample

#1803cc text on a white background

contrast 10.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(24, 3, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 3, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1803cc;
background: linear-gradient(135deg, #1803cc, #9E03CC);

Monochromatic scale

Palettes built from #1803cc

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.

#1803cc 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.

#1803cc, answered

What color is #1803cc?

#1803cc is a dark electric blue — the CSS keyword Medium Blue. It sits at 246° on the hue wheel with 97% saturation and 41% lightness, which reads as cool.

What is the RGB value of #1803cc?

rgb(24, 3, 204) — 24 red, 3 green and 204 blue out of 255, or 9.4% / 1.2% / 80% by channel.

Is #1803cc a light or a dark color?

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

Should I use black or white text on #1803cc?

White. It scores 10.92:1 against #1803cc, versus 1.92:1 for black — AAA at any size.

What is the complementary color of #1803cc?

#B7CC03 sits directly opposite on the wheel. Softer options are the split-complements #CC7D03 and #52CC03, which give the same contrast with far less vibration.

What colors go well with #1803cc?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #534B9B for secondary text, #CCAE00 as an accent and #0F027E for hover and pressed states. For a palette, the analogous pair #0352CC and #7D03CC stays calm, while #B7CC03 is the loudest partner.

What is #1803cc in CMYK for printing?

cmyk(88%, 99%, 0%, 20%). 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 #1803cc warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6203CC; nudged cooler, #0128CE.

Work with #1803cc in the Color Lab