Skip to content

#111fd2

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

RGB
17, 31, 210
HSL
236°, 85%, 45%
CMYK
92, 85, 0, 18
Luminance
0.0575

At a glance

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

Hex
#111fd2
Hue
236°
blue
Saturation
85%
electric
Lightness
45%
dark
Brightness
82%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0575
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.77:1
Closest name
Medium Blue
ΔE2000 3.4
Where it sits
Hue236° of 360°
Saturation85%
Lightness45%
Temperature
Warm ← → Cool86% 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#111fd2
RGBrgb(17, 31, 210)
HSLhsl(236, 85%, 45%)
CMYKcmyk(92%, 85%, 0%, 18%)
LABlab(28.8 60.3 -88.0)
LCHlch(28.8 106.7 304.4)
OKLCHoklch(0.412 0.256 265.9)
Decimal1122258
Display P3color(display-p3 0.067 0.122 0.824)

Copy-ready code

/* CSS */
color: #111fd2;
background-color: #111fd2;
/* Tailwind (arbitrary) */
class="text-[#111fd2] bg-[#111fd2]"
/* SCSS */
$brand: #111fd2;
/* SwiftUI */
Color(red: 0.067, green: 0.122, blue: 0.824)
/* Android */
Color.parseColor("#111fd2")
/* Flutter */
Color(0xFF111FD2)
/* Python / OpenCV (BGR) */
(210, 31, 17)

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

Accessibility — WCAG contrast

Aa
#111fd2 on white: 9.77:1
AA ✓ pass · AA-large · AAA
Aa
#111fd2 on black: 2.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004ED7
deuteranopia · #0039CF
tritanopia · #005C7D

Color scale — 50 to 950

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

#F2F3FC
#E5E7FA
#C5C9F7
#979EF7
#636EF2
#2F3DEE
#111fd2
#0F1CBD
#0C1697
#0D146D
#080D44
Base = 600Lightest = 50 · #F2F3FCDarkest = 950 · #080D44
:root {
  --brand-50: #F2F3FC;
  --brand-100: #E5E7FA;
  --brand-200: #C5C9F7;
  --brand-300: #979EF7;
  --brand-400: #636EF2;
  --brand-500: #2F3DEE;
  --brand-600: #111fd2;
  --brand-700: #0F1CBD;
  --brand-800: #0C1697;
  --brand-900: #0D146D;
  --brand-950: #080D44;
  --brand: #111fd2;
  --brand-ink: #ffffff;
}

Colors that work with #111fd2

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#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#C1870B
Second voice, not a rival
Dark variant#0A1276
Hover, pressed, headers
Light variant#E7E9FD
Selected rows, tints
Dark surface#141524
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 #111fd2

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#D2C411
Analogous left#1180D2
Analogous right#6311D2
Split-complement 1#D26311
Split-complement 2#80D211
Triadic 1#D2111F
Triadic 2#1FD211
Tetradic#D21180

RGB percentages

Red6.7%
Green12.2%
Blue82.4%

CMYK percentages

Cyan91.9%
Magenta85.2%
Yellow0.0%
Key (black)17.6%

Color previews

#111fd2 text on a black background

contrast 2.15:1

Card sample

#111fd2 text on a white background

contrast 9.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(17, 31, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(17, 31, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #111fd2;
background: linear-gradient(135deg, #111fd2, #8311D2);

Monochromatic scale

Palettes built from #111fd2

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.

#111fd2 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.

#111fd2, answered

What color is #111fd2?

#111fd2 is a dark electric blue, closest to Medium Blue (ΔE2000 3.4). It sits at 236° on the hue wheel with 85% saturation and 45% lightness, which reads as cool.

What is the RGB value of #111fd2?

rgb(17, 31, 210) — 17 red, 31 green and 210 blue out of 255, or 6.7% / 12.2% / 82.4% by channel.

Is #111fd2 a light or a dark color?

It is a dark color. Relative luminance is 0.0575 and perceived brightness is 30%, so white text on it reaches 9.77:1.

Should I use black or white text on #111fd2?

White. It scores 9.77:1 against #111fd2, versus 2.15:1 for black — AAA at any size.

What is the complementary color of #111fd2?

#D2C411 sits directly opposite on the wheel. Softer options are the split-complements #D26311 and #80D211, which give the same contrast with far less vibration.

What colors go well with #111fd2?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #C1870B as an accent and #0A1276 for hover and pressed states. For a palette, the analogous pair #1180D2 and #6311D2 stays calm, while #D2C411 is the loudest partner.

What is #111fd2 in CMYK for printing?

cmyk(92%, 85%, 0%, 18%). 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 #111fd2 warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4A11D2; nudged cooler, #0F44D4.

Work with #111fd2 in the Color Lab