Skip to content

#0c69ba

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

RGB
12, 105, 186
HSL
208°, 88%, 39%
CMYK
94, 44, 0, 27
Luminance
0.1373

At a glance

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

Hex
#0c69ba
Hue
208°
blue
Saturation
88%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1373
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.61:1
Closest name
Royal Blue
ΔE2000 8.4
Where it sits
Hue208° of 360°
Saturation88%
Lightness39%
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#0c69ba
RGBrgb(12, 105, 186)
HSLhsl(208, 88%, 39%)
CMYKcmyk(94%, 44%, 0%, 27%)
LABlab(43.8 6.5 -49.4)
LCHlch(43.8 49.9 277.5)
OKLCHoklch(0.517 0.149 251.9)
Decimal813498
Display P3color(display-p3 0.047 0.412 0.729)

Copy-ready code

/* CSS */
color: #0c69ba;
background-color: #0c69ba;
/* Tailwind (arbitrary) */
class="text-[#0c69ba] bg-[#0c69ba]"
/* SCSS */
$brand: #0c69ba;
/* SwiftUI */
Color(red: 0.047, green: 0.412, blue: 0.729)
/* Android */
Color.parseColor("#0c69ba")
/* Flutter */
Color(0xFF0C69BA)
/* Python / OpenCV (BGR) */
(186, 105, 12)

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

Accessibility — WCAG contrast

Aa
#0c69ba on white: 5.61:1
AA ✓ pass · AA-large · AAA
Aa
#0c69ba on black: 3.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3E6FBD
deuteranopia · #1B61B8
tritanopia · #007D88

Color scale — 50 to 950

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

#F2F8FD
#E5F0FA
#C4E0F8
#96CAF8
#61B0F5
#2C96F1
#0F82E6
#0c69ba
#0A5799
#0C416F
#072845
Base = 700Lightest = 50 · #F2F8FDDarkest = 950 · #072845
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E5F0FA;
  --brand-200: #C4E0F8;
  --brand-300: #96CAF8;
  --brand-400: #61B0F5;
  --brand-500: #2C96F1;
  --brand-600: #0F82E6;
  --brand-700: #0c69ba;
  --brand-800: #0A5799;
  --brand-900: #0C416F;
  --brand-950: #072845;
  --brand: #0c69ba;
  --brand-ink: #ffffff;
}

Colors that work with #0c69ba

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#F4F8FA
Tinted page background
Border#C0D8ED
Hairlines and dividers
Muted text#4B769B
Captions on the surface
Accent#BE2F08
Second voice, not a rival
Dark variant#084478
Hover, pressed, headers
Light variant#E7F3FD
Selected rows, tints
Dark surface#141D24
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 #0c69ba

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#BA5D0C
Analogous left#0CBAB4
Analogous right#0C12BA
Split-complement 1#BA0C12
Split-complement 2#BAB40C
Triadic 1#BA0C69
Triadic 2#69BA0C
Tetradic#B40CBA

RGB percentages

Red4.7%
Green41.2%
Blue72.9%

CMYK percentages

Cyan93.5%
Magenta43.5%
Yellow0.0%
Key (black)27.1%

Color previews

#0c69ba text on a black background

contrast 3.75:1

Card sample

#0c69ba text on a white background

contrast 5.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0c69ba;
Background color
Panel with #0c69ba background
background-color: #0c69ba;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0c69ba;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(12, 105, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 105, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c69ba;
background: linear-gradient(135deg, #0c69ba, #230CBA);

Monochromatic scale

Palettes built from #0c69ba

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.

#0c69ba 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.

#0c69ba, answered

What color is #0c69ba?

#0c69ba is a dark electric blue, closest to Royal Blue (ΔE2000 8.4). It sits at 208° on the hue wheel with 88% saturation and 39% lightness, which reads as cool.

What is the RGB value of #0c69ba?

rgb(12, 105, 186) — 12 red, 105 green and 186 blue out of 255, or 4.7% / 41.2% / 72.9% by channel.

Is #0c69ba a light or a dark color?

It is a dark color. Relative luminance is 0.1373 and perceived brightness is 40%, so white text on it reaches 5.61:1.

Should I use black or white text on #0c69ba?

White. It scores 5.61:1 against #0c69ba, versus 3.75:1 for black — AA at any size.

What is the complementary color of #0c69ba?

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

What colors go well with #0c69ba?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B769B for secondary text, #BE2F08 as an accent and #084478 for hover and pressed states. For a palette, the analogous pair #0CBAB4 and #0C12BA stays calm, while #BA5D0C is the loudest partner.

What is #0c69ba in CMYK for printing?

cmyk(94%, 44%, 0%, 27%). 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 #0c69ba 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 #0C29BA; nudged cooler, #0956A4.

Work with #0c69ba in the Color Lab