Skip to content

#6792df

a balanced, vivid blue · cool · closest name: Cornflower Blue

RGB
103, 146, 223
HSL
219°, 65%, 64%
CMYK
54, 35, 0, 13
Luminance
0.2877

At a glance

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

Hex
#6792df
Hue
219°
blue
Saturation
65%
vivid
Lightness
64%
balanced
Brightness
87%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2877
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.75:1
Closest name
Cornflower Blue
ΔE2000 1.7
Where it sits
Hue219° of 360°
Saturation65%
Lightness64%
Temperature
Warm ← → Cool95% 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#6792df
RGBrgb(103, 146, 223)
HSLhsl(219, 65%, 64%)
CMYKcmyk(54%, 35%, 0%, 13%)
LABlab(60.6 7.3 -43.7)
LCHlch(60.6 44.3 279.4)
OKLCHoklch(0.662 0.125 261.4)
Decimal6787807
Display P3color(display-p3 0.404 0.573 0.875)

Copy-ready code

/* CSS */
color: #6792df;
background-color: #6792df;
/* Tailwind (arbitrary) */
class="text-[#6792df] bg-[#6792df]"
/* SCSS */
$brand: #6792df;
/* SwiftUI */
Color(red: 0.404, green: 0.573, blue: 0.875)
/* Android */
Color.parseColor("#6792df")
/* Flutter */
Color(0xFF6792DF)
/* Python / OpenCV (BGR) */
(223, 146, 103)

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

Accessibility — WCAG contrast

Aa
#6792df on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#6792df on black: 6.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7398E2
deuteranopia · #658DDD
tritanopia · #22A3AE

Color scale — 50 to 950

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

#F3F6FB
#E8EDF7
#CBD8F1
#A2BDEB
#6792df
#467AD8
#2B64CA
#2353A9
#1C4387
#183362
#0F203D
Base = 400Lightest = 50 · #F3F6FBDarkest = 950 · #0F203D
:root {
  --brand-50: #F3F6FB;
  --brand-100: #E8EDF7;
  --brand-200: #CBD8F1;
  --brand-300: #A2BDEB;
  --brand-400: #6792df;
  --brand-500: #467AD8;
  --brand-600: #2B64CA;
  --brand-700: #2353A9;
  --brand-800: #1C4387;
  --brand-900: #183362;
  --brand-950: #0F203D;
  --brand: #6792df;
  --brand-ink: #000000;
}

Colors that work with #6792df

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#F4F6FA
Tinted page background
Border#C0D0ED
Hairlines and dividers
Muted text#4B679B
Captions on the surface
Accent#AD561F
Second voice, not a rival
Dark variant#163469
Hover, pressed, headers
Light variant#EAF0FB
Selected rows, tints
Dark surface#141A24
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 #6792df

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#DFB467
Analogous left#67CEDF
Analogous right#7867DF
Split-complement 1#DF7867
Split-complement 2#CEDF67
Triadic 1#DF6792
Triadic 2#92DF67
Tetradic#DF67CE

RGB percentages

Red40.4%
Green57.3%
Blue87.5%

CMYK percentages

Cyan53.8%
Magenta34.5%
Yellow0.0%
Key (black)12.5%

Color previews

#6792df text on a black background

contrast 6.75:1

Card sample

#6792df text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6792df;
Background color
Panel with #6792df background
background-color: #6792df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6792df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(103, 146, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(103, 146, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6792df;
background: linear-gradient(135deg, #6792df, #8C67DF);

Monochromatic scale

Palettes built from #6792df

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.

#6792df 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

Converts to four-color process without much drama. Proof it anyway.

#6792df, answered

What color is #6792df?

#6792df is a balanced vivid blue, closest to Cornflower Blue (ΔE2000 1.7). It sits at 219° on the hue wheel with 65% saturation and 64% lightness, which reads as cool.

What is the RGB value of #6792df?

rgb(103, 146, 223) — 103 red, 146 green and 223 blue out of 255, or 40.4% / 57.3% / 87.5% by channel.

Is #6792df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2877 and perceived brightness is 57%, so black text on it reaches 6.75:1.

Should I use black or white text on #6792df?

Black. It scores 6.75:1 against #6792df, versus 3.11:1 for white — AA at any size.

What is the complementary color of #6792df?

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

What colors go well with #6792df?

For interface work: #F4F6FA as the surface, #C0D0ED for borders, #4B679B for secondary text, #AD561F as an accent and #163469 for hover and pressed states. For a palette, the analogous pair #67CEDF and #7867DF stays calm, while #DFB467 is the loudest partner.

What is #6792df in CMYK for printing?

cmyk(54%, 35%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #6792df warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6867DF; nudged cooler, #508CDD.

Work with #6792df in the Color Lab