Skip to content

#065bbc

a dark, electric blue · cool · closest name: Royal Blue

RGB
6, 91, 188
HSL
212°, 94%, 38%
CMYK
97, 52, 0, 26
Luminance
0.1115

At a glance

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

Hex
#065bbc
Hue
212°
blue
Saturation
94%
electric
Lightness
38%
dark
Brightness
74%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1115
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.50:1
Closest name
Royal Blue
ΔE2000 8.3
Where it sits
Hue212° of 360°
Saturation94%
Lightness38%
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#065bbc
RGBrgb(6, 91, 188)
HSLhsl(212, 94%, 38%)
CMYKcmyk(97%, 52%, 0%, 26%)
LABlab(39.8 16.2 -57.0)
LCHlch(39.8 59.3 285.9)
OKLCHoklch(0.486 0.169 257.0)
Decimal416700
Display P3color(display-p3 0.024 0.357 0.737)

Copy-ready code

/* CSS */
color: #065bbc;
background-color: #065bbc;
/* Tailwind (arbitrary) */
class="text-[#065bbc] bg-[#065bbc]"
/* SCSS */
$brand: #065bbc;
/* SwiftUI */
Color(red: 0.024, green: 0.357, blue: 0.737)
/* Android */
Color.parseColor("#065bbc")
/* Flutter */
Color(0xFF065BBC)
/* Python / OpenCV (BGR) */
(188, 91, 6)

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

Accessibility — WCAG contrast

Aa
#065bbc on white: 6.50:1
AA ✓ pass · AA-large · AAA
Aa
#065bbc on black: 3.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1566BF
deuteranopia · #0057BA
tritanopia · #007383

Color scale — 50 to 950

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

#F2F7FD
#E4EFFB
#C2DCFA
#92C3FC
#5CA6FA
#2688F8
#0873ED
#065bbc
#054C9E
#083A72
#052447
Base = 700Lightest = 50 · #F2F7FDDarkest = 950 · #052447
:root {
  --brand-50: #F2F7FD;
  --brand-100: #E4EFFB;
  --brand-200: #C2DCFA;
  --brand-300: #92C3FC;
  --brand-400: #5CA6FA;
  --brand-500: #2688F8;
  --brand-600: #0873ED;
  --brand-700: #065bbc;
  --brand-800: #054C9E;
  --brand-900: #083A72;
  --brand-950: #052447;
  --brand: #065bbc;
  --brand-ink: #ffffff;
}

Colors that work with #065bbc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F7FA
Tinted page background
Border#C0D5ED
Hairlines and dividers
Muted text#4B709B
Captions on the surface
Accent#C03802
Second voice, not a rival
Dark variant#043C7C
Hover, pressed, headers
Light variant#E6F1FE
Selected rows, tints
Dark surface#141B24
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 #065bbc

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black 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#BC6706
Analogous left#06B6BC
Analogous right#0C06BC
Split-complement 1#BC0C06
Split-complement 2#B6BC06
Triadic 1#BC065B
Triadic 2#5BBC06
Tetradic#BC06B6

RGB percentages

Red2.4%
Green35.7%
Blue73.7%

CMYK percentages

Cyan96.8%
Magenta51.6%
Yellow0.0%
Key (black)26.3%

Color previews

#065bbc text on a black background

contrast 3.23:1

Card sample

#065bbc text on a white background

contrast 6.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #065bbc;
Background color
Panel with #065bbc background
background-color: #065bbc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #065bbc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(6, 91, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 91, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #065bbc;
background: linear-gradient(135deg, #065bbc, #2A06BC);

Monochromatic scale

Palettes built from #065bbc

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.

#065bbc 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.

#065bbc, answered

What color is #065bbc?

#065bbc is a dark electric blue, closest to Royal Blue (ΔE2000 8.3). It sits at 212° on the hue wheel with 94% saturation and 38% lightness, which reads as cool.

What is the RGB value of #065bbc?

rgb(6, 91, 188) — 6 red, 91 green and 188 blue out of 255, or 2.4% / 35.7% / 73.7% by channel.

Is #065bbc a light or a dark color?

It is a dark color. Relative luminance is 0.1115 and perceived brightness is 37%, so white text on it reaches 6.50:1.

Should I use black or white text on #065bbc?

White. It scores 6.50:1 against #065bbc, versus 3.23:1 for black — AA at any size.

What is the complementary color of #065bbc?

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

What colors go well with #065bbc?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B709B for secondary text, #C03802 as an accent and #043C7C for hover and pressed states. For a palette, the analogous pair #06B6BC and #0C06BC stays calm, while #BC6706 is the loudest partner.

What is #065bbc in CMYK for printing?

cmyk(97%, 52%, 0%, 26%). 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 #065bbc 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 #0618BC; nudged cooler, #044FA5.

Work with #065bbc in the Color Lab