Skip to content

#6c7dbb

a balanced, soft blue · cool · closest name: Royal Blue

RGB
108, 125, 187
HSL
227°, 37%, 58%
CMYK
42, 33, 0, 27
Luminance
0.2144

At a glance

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

Hex
#6c7dbb
Hue
227°
blue
Saturation
37%
soft
Lightness
58%
balanced
Brightness
73%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2144
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
5.29:1
Closest name
Royal Blue
ΔE2000 9.7
Where it sits
Hue227° of 360°
Saturation37%
Lightness58%
Temperature
Warm ← → Cool90% 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#6c7dbb
RGBrgb(108, 125, 187)
HSLhsl(227, 37%, 58%)
CMYKcmyk(42%, 33%, 0%, 27%)
LABlab(53.4 10.0 -34.5)
LCHlch(53.4 36.0 286.1)
OKLCHoklch(0.602 0.097 271.6)
Decimal7110075
Display P3color(display-p3 0.424 0.490 0.733)

Copy-ready code

/* CSS */
color: #6c7dbb;
background-color: #6c7dbb;
/* Tailwind (arbitrary) */
class="text-[#6c7dbb] bg-[#6c7dbb]"
/* SCSS */
$brand: #6c7dbb;
/* SwiftUI */
Color(red: 0.424, green: 0.490, blue: 0.733)
/* Android */
Color.parseColor("#6c7dbb")
/* Flutter */
Color(0xFF6C7DBB)
/* Python / OpenCV (BGR) */
(187, 125, 108)

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

Accessibility — WCAG contrast

Aa
#6c7dbb on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#6c7dbb on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6783BE
deuteranopia · #617DBA
tritanopia · #528A93

Color scale — 50 to 950

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

#F5F6FA
#EBEDF4
#D3D8E9
#B2BBDB
#8C99CA
#6c7dbb
#4D61A7
#41518B
#344170
#293152
#191F33
Base = 500Lightest = 50 · #F5F6FADarkest = 950 · #191F33
:root {
  --brand-50: #F5F6FA;
  --brand-100: #EBEDF4;
  --brand-200: #D3D8E9;
  --brand-300: #B2BBDB;
  --brand-400: #8C99CA;
  --brand-500: #6c7dbb;
  --brand-600: #4D61A7;
  --brand-700: #41518B;
  --brand-800: #344170;
  --brand-900: #293152;
  --brand-950: #191F33;
  --brand: #6c7dbb;
  --brand-ink: #000000;
}

Colors that work with #6c7dbb

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#F5F6FA
Tinted page background
Border#C7CEE5
Hairlines and dividers
Muted text#4B5C9B
Captions on the surface
Accent#8F683D
Second voice, not a rival
Dark variant#283257
Hover, pressed, headers
Light variant#EEF0F7
Selected rows, tints
Dark surface#141724
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 #6c7dbb

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#BBAA6C
Analogous left#6CA4BB
Analogous right#826CBB
Split-complement 1#BB826C
Split-complement 2#A4BB6C
Triadic 1#BB6C7D
Triadic 2#7DBB6C
Tetradic#BB6CA4

RGB percentages

Red42.4%
Green49.0%
Blue73.3%

CMYK percentages

Cyan42.2%
Magenta33.2%
Yellow0.0%
Key (black)26.7%

Color previews

#6c7dbb text on a black background

contrast 5.29:1

Card sample

#6c7dbb text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6c7dbb;
Background color
Panel with #6c7dbb background
background-color: #6c7dbb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6c7dbb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(108, 125, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 125, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c7dbb;
background: linear-gradient(135deg, #6c7dbb, #906CBB);

Monochromatic scale

Palettes built from #6c7dbb

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.

#6c7dbb 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.

#6c7dbb, answered

What color is #6c7dbb?

#6c7dbb is a balanced soft blue, closest to Royal Blue (ΔE2000 9.7). It sits at 227° on the hue wheel with 37% saturation and 58% lightness, which reads as cool.

What is the RGB value of #6c7dbb?

rgb(108, 125, 187) — 108 red, 125 green and 187 blue out of 255, or 42.4% / 49% / 73.3% by channel.

Is #6c7dbb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2144 and perceived brightness is 51%, so black text on it reaches 5.29:1.

Should I use black or white text on #6c7dbb?

Black. It scores 5.29:1 against #6c7dbb, versus 3.97:1 for white — AA at any size.

What is the complementary color of #6c7dbb?

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

What colors go well with #6c7dbb?

For interface work: #F5F6FA as the surface, #C7CEE5 for borders, #4B5C9B for secondary text, #8F683D as an accent and #283257 for hover and pressed states. For a palette, the analogous pair #6CA4BB and #826CBB stays calm, while #BBAA6C is the loudest partner.

What is #6c7dbb in CMYK for printing?

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

Is #6c7dbb warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #786CBB; nudged cooler, #6A8BBD.

Work with #6c7dbb in the Color Lab