Skip to content

#148afd

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

RGB
20, 138, 253
HSL
210°, 98%, 54%
CMYK
92, 46, 0, 1
Luminance
0.2542

At a glance

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

Hex
#148afd
Hue
210°
blue
Saturation
98%
electric
Lightness
54%
balanced
Brightness
99%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2542
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.08:1
Closest name
Dodger Blue
ΔE2000 2
Where it sits
Hue210° of 360°
Saturation98%
Lightness54%
Temperature
Warm ← → Cool100% 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#148afd
RGBrgb(20, 138, 253)
HSLhsl(210, 98%, 54%)
CMYKcmyk(92%, 46%, 0%, 1%)
LABlab(57.5 12.4 -65.3)
LCHlch(57.5 66.5 280.7)
OKLCHoklch(0.636 0.196 254.0)
Decimal1346301
Display P3color(display-p3 0.078 0.541 0.992)

Copy-ready code

/* CSS */
color: #148afd;
background-color: #148afd;
/* Tailwind (arbitrary) */
class="text-[#148afd] bg-[#148afd]"
/* SCSS */
$brand: #148afd;
/* SwiftUI */
Color(red: 0.078, green: 0.541, blue: 0.992)
/* Android */
Color.parseColor("#148afd")
/* Flutter */
Color(0xFF148AFD)
/* Python / OpenCV (BGR) */
(253, 138, 20)

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

Accessibility — WCAG contrast

Aa
#148afd on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#148afd on black: 6.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4994FF
deuteranopia · #0081FB
tritanopia · #00A6B7

Color scale — 50 to 950

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

#F1F7FD
#E3F0FC
#C1DEFB
#90C8FE
#58ACFE
#148afd
#027CF3
#0267CA
#0153A2
#063E75
#042749
Base = 500Lightest = 50 · #F1F7FDDarkest = 950 · #042749
:root {
  --brand-50: #F1F7FD;
  --brand-100: #E3F0FC;
  --brand-200: #C1DEFB;
  --brand-300: #90C8FE;
  --brand-400: #58ACFE;
  --brand-500: #148afd;
  --brand-600: #027CF3;
  --brand-700: #0267CA;
  --brand-800: #0153A2;
  --brand-900: #063E75;
  --brand-950: #042749;
  --brand: #148afd;
  --brand-ink: #000000;
}

Colors that work with #148afd

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#F4F7FA
Tinted page background
Border#C0D6ED
Hairlines and dividers
Muted text#4B739B
Captions on the surface
Accent#FF4C12
Second voice, not a rival
Dark variant#01417E
Hover, pressed, headers
Light variant#E6F2FF
Selected rows, tints
Dark surface#141C24
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 #148afd

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#FD8714
Analogous left#14FDFB
Analogous right#1415FD
Split-complement 1#FD1415
Split-complement 2#FDFB14
Triadic 1#FD148A
Triadic 2#8AFD14
Tetradic#FB14FD

RGB percentages

Red7.8%
Green54.1%
Blue99.2%

CMYK percentages

Cyan92.1%
Magenta45.5%
Yellow0.0%
Key (black)0.8%

Color previews

#148afd text on a black background

contrast 6.08:1

Card sample

#148afd text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #148afd;
Background color
Panel with #148afd background
background-color: #148afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #148afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(20, 138, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 138, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #148afd;
background: linear-gradient(135deg, #148afd, #3914FD);

Monochromatic scale

Palettes built from #148afd

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.

#148afd 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.

#148afd, answered

What color is #148afd?

#148afd is a balanced electric blue, closest to Dodger Blue (ΔE2000 2). It sits at 210° on the hue wheel with 98% saturation and 54% lightness, which reads as cool.

What is the RGB value of #148afd?

rgb(20, 138, 253) — 20 red, 138 green and 253 blue out of 255, or 7.8% / 54.1% / 99.2% by channel.

Is #148afd a light or a dark color?

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

Should I use black or white text on #148afd?

Black. It scores 6.08:1 against #148afd, versus 3.45:1 for white — AA at any size.

What is the complementary color of #148afd?

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

What colors go well with #148afd?

For interface work: #F4F7FA as the surface, #C0D6ED for borders, #4B739B for secondary text, #FF4C12 as an accent and #01417E for hover and pressed states. For a palette, the analogous pair #14FDFB and #1415FD stays calm, while #FD8714 is the loudest partner.

What is #148afd in CMYK for printing?

cmyk(92%, 46%, 0%, 1%). 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 #148afd warm or cool?

Cool — it scores 100 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1435FD; nudged cooler, #0079F7.

Work with #148afd in the Color Lab