Skip to content

#286bbc

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

RGB
40, 107, 188
HSL
213°, 65%, 45%
CMYK
79, 43, 0, 26
Luminance
0.1460

At a glance

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

Hex
#286bbc
Hue
213°
blue
Saturation
65%
vivid
Lightness
45%
dark
Brightness
74%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1460
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.36:1
Closest name
Royal Blue
ΔE2000 6.8
Where it sits
Hue213° of 360°
Saturation65%
Lightness45%
Temperature
Warm ← → Cool98% 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#286bbc
RGBrgb(40, 107, 188)
HSLhsl(213, 65%, 45%)
CMYKcmyk(79%, 43%, 0%, 26%)
LABlab(45.1 8.2 -48.6)
LCHlch(45.1 49.3 279.6)
OKLCHoklch(0.529 0.144 255.4)
Decimal2649020
Display P3color(display-p3 0.157 0.420 0.737)

Copy-ready code

/* CSS */
color: #286bbc;
background-color: #286bbc;
/* Tailwind (arbitrary) */
class="text-[#286bbc] bg-[#286bbc]"
/* SCSS */
$brand: #286bbc;
/* SwiftUI */
Color(red: 0.157, green: 0.420, blue: 0.737)
/* Android */
Color.parseColor("#286bbc")
/* Flutter */
Color(0xFF286BBC)
/* Python / OpenCV (BGR) */
(188, 107, 40)

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

Accessibility — WCAG contrast

Aa
#286bbc on white: 5.36:1
AA ✓ pass · AA-large · AAA
Aa
#286bbc on black: 3.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4272BF
deuteranopia · #2664BA
tritanopia · #007E8A

Color scale — 50 to 950

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

#F3F7FB
#E8EFF7
#CBDCF1
#A2C4EB
#74A6E1
#4688D8
#286bbc
#2460A8
#1D4D87
#193A62
#0F243D
Base = 600Lightest = 50 · #F3F7FBDarkest = 950 · #0F243D
:root {
  --brand-50: #F3F7FB;
  --brand-100: #E8EFF7;
  --brand-200: #CBDCF1;
  --brand-300: #A2C4EB;
  --brand-400: #74A6E1;
  --brand-500: #4688D8;
  --brand-600: #286bbc;
  --brand-700: #2460A8;
  --brand-800: #1D4D87;
  --brand-900: #193A62;
  --brand-950: #0F243D;
  --brand: #286bbc;
  --brand-ink: #ffffff;
}

Colors that work with #286bbc

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#C0D4ED
Hairlines and dividers
Muted text#4B6F9B
Captions on the surface
Accent#C15223
Second voice, not a rival
Dark variant#163C69
Hover, pressed, headers
Light variant#EAF1FB
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 #286bbc

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#BC7928
Analogous left#28B5BC
Analogous right#2F28BC
Split-complement 1#BC2F28
Split-complement 2#B5BC28
Triadic 1#BC286B
Triadic 2#6BBC28
Tetradic#BC28B5

RGB percentages

Red15.7%
Green42.0%
Blue73.7%

CMYK percentages

Cyan78.7%
Magenta43.1%
Yellow0.0%
Key (black)26.3%

Color previews

#286bbc text on a black background

contrast 3.92:1

Card sample

#286bbc text on a white background

contrast 5.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 107, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 107, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #286bbc;
background: linear-gradient(135deg, #286bbc, #4828BC);

Monochromatic scale

Palettes built from #286bbc

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.

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

#286bbc, answered

What color is #286bbc?

#286bbc is a dark vivid blue, closest to Royal Blue (ΔE2000 6.8). It sits at 213° on the hue wheel with 65% saturation and 45% lightness, which reads as cool.

What is the RGB value of #286bbc?

rgb(40, 107, 188) — 40 red, 107 green and 188 blue out of 255, or 15.7% / 42% / 73.7% by channel.

Is #286bbc a light or a dark color?

It is a dark color. Relative luminance is 0.1460 and perceived brightness is 42%, so white text on it reaches 5.36:1.

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

White. It scores 5.36:1 against #286bbc, versus 3.92:1 for black — AA at any size.

What is the complementary color of #286bbc?

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

What colors go well with #286bbc?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6F9B for secondary text, #C15223 as an accent and #163C69 for hover and pressed states. For a palette, the analogous pair #28B5BC and #2F28BC stays calm, while #BC7928 is the loudest partner.

What is #286bbc in CMYK for printing?

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

Is #286bbc warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2835BC; nudged cooler, #2260A9.

Work with #286bbc in the Color Lab