Skip to content

#6a7cdf

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

RGB
106, 124, 223
HSL
231°, 65%, 65%
CMYK
53, 44, 0, 13
Luminance
0.2281

At a glance

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

Hex
#6a7cdf
Hue
231°
blue
Saturation
65%
vivid
Lightness
65%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2281
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.56:1
Closest name
Royal Blue
ΔE2000 7.8
Where it sits
Hue231° of 360°
Saturation65%
Lightness65%
Temperature
Warm ← → Cool88% 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#6a7cdf
RGBrgb(106, 124, 223)
HSLhsl(231, 65%, 65%)
CMYKcmyk(53%, 44%, 0%, 13%)
LABlab(54.9 21.0 -52.7)
LCHlch(54.9 56.7 291.7)
OKLCHoklch(0.619 0.150 273.5)
Decimal6978783
Display P3color(display-p3 0.416 0.486 0.875)

Copy-ready code

/* CSS */
color: #6a7cdf;
background-color: #6a7cdf;
/* Tailwind (arbitrary) */
class="text-[#6a7cdf] bg-[#6a7cdf]"
/* SCSS */
$brand: #6a7cdf;
/* SwiftUI */
Color(red: 0.416, green: 0.486, blue: 0.875)
/* Android */
Color.parseColor("#6a7cdf")
/* Flutter */
Color(0xFF6A7CDF)
/* Python / OpenCV (BGR) */
(223, 124, 106)

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

Accessibility — WCAG contrast

Aa
#6a7cdf on white: 3.78:1
AA ✗ fail · AA-large · AAA
Aa
#6a7cdf on black: 5.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5189E3
deuteranopia · #447FDD
tritanopia · #3391A3

Color scale — 50 to 950

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

#F3F5FB
#E8EAF7
#CBD1F1
#A3AEEB
#6a7cdf
#465DD7
#2B44C9
#2438A8
#1D2D86
#192462
#10163D
Base = 400Lightest = 50 · #F3F5FBDarkest = 950 · #10163D
:root {
  --brand-50: #F3F5FB;
  --brand-100: #E8EAF7;
  --brand-200: #CBD1F1;
  --brand-300: #A3AEEB;
  --brand-400: #6a7cdf;
  --brand-500: #465DD7;
  --brand-600: #2B44C9;
  --brand-700: #2438A8;
  --brand-800: #1D2D86;
  --brand-900: #192462;
  --brand-950: #10163D;
  --brand: #6a7cdf;
  --brand-ink: #000000;
}

Colors that work with #6a7cdf

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#F4F5FA
Tinted page background
Border#C0C7ED
Hairlines and dividers
Muted text#4B579B
Captions on the surface
Accent#AC7320
Second voice, not a rival
Dark variant#172369
Hover, pressed, headers
Light variant#EAEDFA
Selected rows, tints
Dark surface#141624
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 #6a7cdf

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#DFCD6A
Analogous left#6AB6DF
Analogous right#936ADF
Split-complement 1#DF936A
Split-complement 2#B6DF6A
Triadic 1#DF6A7C
Triadic 2#7CDF6A
Tetradic#DF6AB6

RGB percentages

Red41.6%
Green48.6%
Blue87.5%

CMYK percentages

Cyan52.5%
Magenta44.4%
Yellow0.0%
Key (black)12.5%

Color previews

#6a7cdf text on a black background

contrast 5.56:1

Card sample

#6a7cdf text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(106, 124, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(106, 124, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6a7cdf;
background: linear-gradient(135deg, #6a7cdf, #A66ADF);

Monochromatic scale

Palettes built from #6a7cdf

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.

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

#6a7cdf, answered

What color is #6a7cdf?

#6a7cdf is a balanced vivid blue, closest to Royal Blue (ΔE2000 7.8). It sits at 231° on the hue wheel with 65% saturation and 65% lightness, which reads as cool.

What is the RGB value of #6a7cdf?

rgb(106, 124, 223) — 106 red, 124 green and 223 blue out of 255, or 41.6% / 48.6% / 87.5% by channel.

Is #6a7cdf a light or a dark color?

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

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

Black. It scores 5.56:1 against #6a7cdf, versus 3.78:1 for white — AA at any size.

What is the complementary color of #6a7cdf?

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

What colors go well with #6a7cdf?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B579B for secondary text, #AC7320 as an accent and #172369 for hover and pressed states. For a palette, the analogous pair #6AB6DF and #936ADF stays calm, while #DFCD6A is the loudest partner.

What is #6a7cdf in CMYK for printing?

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

Is #6a7cdf warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #836ADF; nudged cooler, #6893E1.

Work with #6a7cdf in the Color Lab