Skip to content

#112dfb

a balanced, electric blue · cool · closest name: Blue

RGB
17, 45, 251
HSL
233°, 97%, 53%
CMYK
93, 82, 0, 2
Luminance
0.0896

At a glance

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

Hex
#112dfb
Hue
233°
blue
Saturation
97%
electric
Lightness
53%
balanced
Brightness
98%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0896
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.52:1
Closest name
Blue
ΔE2000 4.2
Where it sits
Hue233° of 360°
Saturation97%
Lightness53%
Temperature
Warm ← → Cool87% 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#112dfb
RGBrgb(17, 45, 251)
HSLhsl(233, 97%, 53%)
CMYKcmyk(93%, 82%, 0%, 2%)
LABlab(35.9 66.4 -99.6)
LCHlch(35.9 119.7 303.7)
OKLCHoklch(0.476 0.289 265.3)
Decimal1125883
Display P3color(display-p3 0.067 0.176 0.984)

Copy-ready code

/* CSS */
color: #112dfb;
background-color: #112dfb;
/* Tailwind (arbitrary) */
class="text-[#112dfb] bg-[#112dfb]"
/* SCSS */
$brand: #112dfb;
/* SwiftUI */
Color(red: 0.067, green: 0.176, blue: 0.984)
/* Android */
Color.parseColor("#112dfb")
/* Flutter */
Color(0xFF112DFB)
/* Python / OpenCV (BGR) */
(251, 45, 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 #112dfb · 7.52:1
Use #ffffffAAA at every size.
Aa
White text · 7.52:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.79:1
AA fail · AA large fail · AAA fail
Reading the other direction: #112dfb as text scores 7.52:1 on white and 2.79:1 on black.

Accessibility — WCAG contrast

Aa
#112dfb on white: 7.52:1
AA ✓ pass · AA-large · AAA
Aa
#112dfb on black: 2.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060FF
deuteranopia · #0048F8
tritanopia · #007197

Color scale — 50 to 950

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

#F1F3FD
#E4E7FC
#C1C8FB
#919EFD
#596DFC
#112dfb
#0420F1
#031BC9
#0316A1
#071474
#040C48
Base = 500Lightest = 50 · #F1F3FDDarkest = 950 · #040C48
:root {
  --brand-50: #F1F3FD;
  --brand-100: #E4E7FC;
  --brand-200: #C1C8FB;
  --brand-300: #919EFD;
  --brand-400: #596DFC;
  --brand-500: #112dfb;
  --brand-600: #0420F1;
  --brand-700: #031BC9;
  --brand-800: #0316A1;
  --brand-900: #071474;
  --brand-950: #040C48;
  --brand: #112dfb;
  --brand-ink: #ffffff;
}

Colors that work with #112dfb

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#C0C5ED
Hairlines and dividers
Muted text#4B549B
Captions on the surface
Accent#CC8000
Second voice, not a rival
Dark variant#02117D
Hover, pressed, headers
Light variant#E6E9FF
Selected rows, tints
Dark surface#141624
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 #112dfb

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#FBDF11
Analogous left#11A2FB
Analogous right#6A11FB
Split-complement 1#FB6A11
Split-complement 2#A2FB11
Triadic 1#FB112D
Triadic 2#2DFB11
Tetradic#FB11A2

RGB percentages

Red6.7%
Green17.6%
Blue98.4%

CMYK percentages

Cyan93.2%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#112dfb text on a black background

contrast 2.79:1

Card sample

#112dfb text on a white background

contrast 7.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(17, 45, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(17, 45, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #112dfb;
background: linear-gradient(135deg, #112dfb, #9111FB);

Monochromatic scale

Palettes built from #112dfb

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.

#112dfb 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.

#112dfb, answered

What color is #112dfb?

#112dfb is a balanced electric blue, closest to Blue (ΔE2000 4.2). It sits at 233° on the hue wheel with 97% saturation and 53% lightness, which reads as cool.

What is the RGB value of #112dfb?

rgb(17, 45, 251) — 17 red, 45 green and 251 blue out of 255, or 6.7% / 17.6% / 98.4% by channel.

Is #112dfb a light or a dark color?

It is a dark color. Relative luminance is 0.0896 and perceived brightness is 36%, so white text on it reaches 7.52:1.

Should I use black or white text on #112dfb?

White. It scores 7.52:1 against #112dfb, versus 2.79:1 for black — AAA at any size.

What is the complementary color of #112dfb?

#FBDF11 sits directly opposite on the wheel. Softer options are the split-complements #FB6A11 and #A2FB11, which give the same contrast with far less vibration.

What colors go well with #112dfb?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B549B for secondary text, #CC8000 as an accent and #02117D for hover and pressed states. For a palette, the analogous pair #11A2FB and #6A11FB stays calm, while #FBDF11 is the loudest partner.

What is #112dfb in CMYK for printing?

cmyk(93%, 82%, 0%, 2%). 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 #112dfb warm or cool?

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

Work with #112dfb in the Color Lab