Skip to content

#68a7eb

a light, electric blue · cool · closest name: Cornflower Blue

RGB
104, 167, 235
HSL
211°, 77%, 67%
CMYK
56, 29, 0, 8
Luminance
0.3658

At a glance

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

Hex
#68a7eb
Hue
211°
blue
Saturation
77%
electric
Lightness
67%
light
Brightness
92%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3658
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.32:1
Closest name
Cornflower Blue
ΔE2000 6
Where it sits
Hue211° of 360°
Saturation77%
Lightness67%
Temperature
Warm ← → Cool99% 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#68a7eb
RGBrgb(104, 167, 235)
HSLhsl(211, 77%, 67%)
CMYKcmyk(56%, 29%, 0%, 8%)
LABlab(67.0 -0.8 -40.3)
LCHlch(67.0 40.3 268.8)
OKLCHoklch(0.714 0.119 251.5)
Decimal6858731
Display P3color(display-p3 0.408 0.655 0.922)

Copy-ready code

/* CSS */
color: #68a7eb;
background-color: #68a7eb;
/* Tailwind (arbitrary) */
class="text-[#68a7eb] bg-[#68a7eb]"
/* SCSS */
$brand: #68a7eb;
/* SwiftUI */
Color(red: 0.408, green: 0.655, blue: 0.922)
/* Android */
Color.parseColor("#68a7eb")
/* Flutter */
Color(0xFF68A7EB)
/* Python / OpenCV (BGR) */
(235, 167, 104)

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 #68a7eb · 8.32:1
Use #000000AAA at every size.
Aa
White text · 2.53:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.32:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #68a7eb as text scores 2.53:1 on white and 8.32:1 on black.

Accessibility — WCAG contrast

Aa
#68a7eb on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#68a7eb on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8BAAEE
deuteranopia · #7A9DEA
tritanopia · #00B7BF

Color scale — 50 to 950

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

#F3F7FC
#E7EFF9
#C8DDF4
#9CC5F2
#68a7eb
#398CE5
#1D77D8
#1863B4
#134F90
#123C68
#0B2541
Base = 400Lightest = 50 · #F3F7FCDarkest = 950 · #0B2541
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E7EFF9;
  --brand-200: #C8DDF4;
  --brand-300: #9CC5F2;
  --brand-400: #68a7eb;
  --brand-500: #398CE5;
  --brand-600: #1D77D8;
  --brand-700: #1863B4;
  --brand-800: #134F90;
  --brand-900: #123C68;
  --brand-950: #0B2541;
  --brand: #68a7eb;
  --brand-ink: #000000;
}

Colors that work with #68a7eb

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#C0D5ED
Hairlines and dividers
Muted text#4B719B
Captions on the surface
Accent#B84014
Second voice, not a rival
Dark variant#0F3E71
Hover, pressed, headers
Light variant#E8F2FC
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 #68a7eb

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White 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#EBAC68
Analogous left#68E9EB
Analogous right#6B68EB
Split-complement 1#EB6B68
Split-complement 2#E9EB68
Triadic 1#EB68A7
Triadic 2#A7EB68
Tetradic#EB68E9

RGB percentages

Red40.8%
Green65.5%
Blue92.2%

CMYK percentages

Cyan55.7%
Magenta28.9%
Yellow0.0%
Key (black)7.8%

Color previews

#68a7eb text on a black background

contrast 8.32:1

Card sample

#68a7eb text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #68a7eb;
Background color
Panel with #68a7eb background
background-color: #68a7eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #68a7eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(104, 167, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 167, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #68a7eb;
background: linear-gradient(135deg, #68a7eb, #8068EB);

Monochromatic scale

Palettes built from #68a7eb

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.

#68a7eb 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#68a7eb, answered

What color is #68a7eb?

#68a7eb is a light electric blue, closest to Cornflower Blue (ΔE2000 6). It sits at 211° on the hue wheel with 77% saturation and 67% lightness, which reads as cool.

What is the RGB value of #68a7eb?

rgb(104, 167, 235) — 104 red, 167 green and 235 blue out of 255, or 40.8% / 65.5% / 92.2% by channel.

Is #68a7eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3658 and perceived brightness is 63%, so black text on it reaches 8.32:1.

Should I use black or white text on #68a7eb?

Black. It scores 8.32:1 against #68a7eb, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #68a7eb?

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

What colors go well with #68a7eb?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B719B for secondary text, #B84014 as an accent and #0F3E71 for hover and pressed states. For a palette, the analogous pair #68E9EB and #6B68EB stays calm, while #EBAC68 is the loudest partner.

What is #68a7eb in CMYK for printing?

cmyk(56%, 29%, 0%, 8%). 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 #68a7eb warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6877EB; nudged cooler, #5099EA.

Work with #68a7eb in the Color Lab