Skip to content

#1f9bdf

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

RGB
31, 155, 223
HSL
201°, 76%, 50%
CMYK
86, 31, 0, 13
Luminance
0.2906

At a glance

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

Hex
#1f9bdf
Hue
201°
blue
Saturation
76%
electric
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2906
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.81:1
Closest name
Dodger Blue
ΔE2000 7.4
Where it sits
Hue201° of 360°
Saturation76%
Lightness50%
Temperature
Warm ← → Cool96% 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#1f9bdf
RGBrgb(31, 155, 223)
HSLhsl(201, 76%, 50%)
CMYKcmyk(86%, 31%, 0%, 13%)
LABlab(60.8 -8.3 -43.4)
LCHlch(60.8 44.2 259.2)
OKLCHoklch(0.658 0.142 240.0)
Decimal2071519
Display P3color(display-p3 0.122 0.608 0.875)

Copy-ready code

/* CSS */
color: #1f9bdf;
background-color: #1f9bdf;
/* Tailwind (arbitrary) */
class="text-[#1f9bdf] bg-[#1f9bdf]"
/* SCSS */
$brand: #1f9bdf;
/* SwiftUI */
Color(red: 0.122, green: 0.608, blue: 0.875)
/* Android */
Color.parseColor("#1f9bdf")
/* Flutter */
Color(0xFF1F9BDF)
/* Python / OpenCV (BGR) */
(223, 155, 31)

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

Accessibility — WCAG contrast

Aa
#1f9bdf on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#1f9bdf on black: 6.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7A9CE2
deuteranopia · #618BDE
tritanopia · #00ACB3

Color scale — 50 to 950

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

#F3F9FC
#E7F2F9
#C8E4F4
#9CD3F1
#6BBDEA
#3AA7E4
#1f9bdf
#197CB3
#14638F
#134A68
#0C2E41
Base = 600Lightest = 50 · #F3F9FCDarkest = 950 · #0C2E41
:root {
  --brand-50: #F3F9FC;
  --brand-100: #E7F2F9;
  --brand-200: #C8E4F4;
  --brand-300: #9CD3F1;
  --brand-400: #6BBDEA;
  --brand-500: #3AA7E4;
  --brand-600: #1f9bdf;
  --brand-700: #197CB3;
  --brand-800: #14638F;
  --brand-900: #134A68;
  --brand-950: #0C2E41;
  --brand: #1f9bdf;
  --brand-ink: #000000;
}

Colors that work with #1f9bdf

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#C0DDED
Hairlines and dividers
Muted text#4B7E9B
Captions on the surface
Accent#E42F1A
Second voice, not a rival
Dark variant#104E70
Hover, pressed, headers
Light variant#E9F5FC
Selected rows, tints
Dark surface#141E24
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 #1f9bdf

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#DF631F
Analogous left#1FDFC3
Analogous right#1F3BDF
Split-complement 1#DF1F3B
Split-complement 2#DFC31F
Triadic 1#DF1F9B
Triadic 2#9BDF1F
Tetradic#C31FDF

RGB percentages

Red12.2%
Green60.8%
Blue87.5%

CMYK percentages

Cyan86.1%
Magenta30.5%
Yellow0.0%
Key (black)12.5%

Color previews

#1f9bdf text on a black background

contrast 6.81:1

Card sample

#1f9bdf text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1f9bdf;
Background color
Panel with #1f9bdf background
background-color: #1f9bdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1f9bdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(31, 155, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 155, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1f9bdf;
background: linear-gradient(135deg, #1f9bdf, #231FDF);

Monochromatic scale

Palettes built from #1f9bdf

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.

#1f9bdf 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.

#1f9bdf, answered

What color is #1f9bdf?

#1f9bdf is a balanced electric blue, closest to Dodger Blue (ΔE2000 7.4). It sits at 201° on the hue wheel with 76% saturation and 50% lightness, which reads as cool.

What is the RGB value of #1f9bdf?

rgb(31, 155, 223) — 31 red, 155 green and 223 blue out of 255, or 12.2% / 60.8% / 87.5% by channel.

Is #1f9bdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2906 and perceived brightness is 56%, so black text on it reaches 6.81:1.

Should I use black or white text on #1f9bdf?

Black. It scores 6.81:1 against #1f9bdf, versus 3.08:1 for white — AA at any size.

What is the complementary color of #1f9bdf?

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

What colors go well with #1f9bdf?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7E9B for secondary text, #E42F1A as an accent and #104E70 for hover and pressed states. For a palette, the analogous pair #1FDFC3 and #1F3BDF stays calm, while #DF631F is the loudest partner.

What is #1f9bdf in CMYK for printing?

cmyk(86%, 31%, 0%, 13%). 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 #1f9bdf warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1FDFDD; nudged cooler, #1A7DCB.

Work with #1f9bdf in the Color Lab