Skip to content

#128eee

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

RGB
18, 142, 238
HSL
206°, 87%, 50%
CMYK
92, 40, 0, 7
Luminance
0.2565

At a glance

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

Hex
#128eee
Hue
206°
blue
Saturation
87%
electric
Lightness
50%
balanced
Brightness
93%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2565
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.13:1
Closest name
Dodger Blue
ΔE2000 2.4
Where it sits
Hue206° of 360°
Saturation87%
Lightness50%
Temperature
Warm ← → Cool98% 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#128eee
RGBrgb(18, 142, 238)
HSLhsl(206, 87%, 50%)
CMYKcmyk(92%, 40%, 0%, 7%)
LABlab(57.7 4.2 -56.7)
LCHlch(57.7 56.9 274.2)
OKLCHoklch(0.635 0.173 249.7)
Decimal1216238
Display P3color(display-p3 0.071 0.557 0.933)

Copy-ready code

/* CSS */
color: #128eee;
background-color: #128eee;
/* Tailwind (arbitrary) */
class="text-[#128eee] bg-[#128eee]"
/* SCSS */
$brand: #128eee;
/* SwiftUI */
Color(red: 0.071, green: 0.557, blue: 0.933)
/* Android */
Color.parseColor("#128eee")
/* Flutter */
Color(0xFF128EEE)
/* Python / OpenCV (BGR) */
(238, 142, 18)

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#000000 on #128eee · 6.13:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.43:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.13:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #128eee as text scores 3.43:1 on white and 6.13:1 on black.

Accessibility — WCAG contrast

Aa
#128eee on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#128eee on black: 6.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D94F2
deuteranopia · #3882EC
tritanopia · #00A5B2

Color scale — 50 to 950

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

#F2F8FD
#E5F1FA
#C4E1F7
#96CDF7
#62B4F4
#2E9BF0
#128eee
#0E71BE
#0B5B98
#0C436E
#082A45
Base = 600Lightest = 50 · #F2F8FDDarkest = 950 · #082A45
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E5F1FA;
  --brand-200: #C4E1F7;
  --brand-300: #96CDF7;
  --brand-400: #62B4F4;
  --brand-500: #2E9BF0;
  --brand-600: #128eee;
  --brand-700: #0E71BE;
  --brand-800: #0B5B98;
  --brand-900: #0C436E;
  --brand-950: #082A45;
  --brand: #128eee;
  --brand-ink: #000000;
}

Colors that work with #128eee

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0D9ED
Hairlines and dividers
Muted text#4B789B
Captions on the surface
Accent#F3380D
Second voice, not a rival
Dark variant#094777
Hover, pressed, headers
Light variant#E7F4FD
Selected rows, tints
Dark surface#141D24
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 #128eee

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#EE7212
Analogous left#12EEE0
Analogous right#1220EE
Split-complement 1#EE1220
Split-complement 2#EEE012
Triadic 1#EE128E
Triadic 2#8EEE12
Tetradic#E012EE

RGB percentages

Red7.1%
Green55.7%
Blue93.3%

CMYK percentages

Cyan92.4%
Magenta40.3%
Yellow0.0%
Key (black)6.7%

Color previews

#128eee text on a black background

contrast 6.13:1

Card sample

#128eee text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #128eee;
Background color
Panel with #128eee background
background-color: #128eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #128eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(18, 142, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 142, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #128eee;
background: linear-gradient(135deg, #128eee, #2912EE);

Monochromatic scale

Palettes built from #128eee

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.

#128eee 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.

#128eee, answered

What color is #128eee?

#128eee is a balanced electric blue, closest to Dodger Blue (ΔE2000 2.4). It sits at 206° on the hue wheel with 87% saturation and 50% lightness, which reads as cool.

What is the RGB value of #128eee?

rgb(18, 142, 238) — 18 red, 142 green and 238 blue out of 255, or 7.1% / 55.7% / 93.3% by channel.

Is #128eee a light or a dark color?

It is a mid-tone. Relative luminance is 0.2565 and perceived brightness is 53%, so black text on it reaches 6.13:1.

Should I use black or white text on #128eee?

Black. It scores 6.13:1 against #128eee, versus 3.43:1 for white — AA at any size.

What is the complementary color of #128eee?

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

What colors go well with #128eee?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B789B for secondary text, #F3380D as an accent and #094777 for hover and pressed states. For a palette, the analogous pair #12EEE0 and #1220EE stays calm, while #EE7212 is the loudest partner.

What is #128eee in CMYK for printing?

cmyk(92%, 40%, 0%, 7%). 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 #128eee warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #123DEE; nudged cooler, #0D77D9.

Work with #128eee in the Color Lab