Skip to content

#0b1cdf

a balanced, electric blue · cool · closest name: Blue

RGB
11, 28, 223
HSL
235°, 91%, 46%
CMYK
95, 87, 0, 13
Luminance
0.0623

At a glance

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

Hex
#0b1cdf
Hue
235°
blue
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0623
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.35:1
Closest name
Blue
ΔE2000 3.6
Where it sits
Hue235° of 360°
Saturation91%
Lightness46%
Temperature
Warm ← → Cool86% 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#0b1cdf
RGBrgb(11, 28, 223)
HSLhsl(235, 91%, 46%)
CMYKcmyk(95%, 87%, 0%, 13%)
LABlab(30.0 65.0 -93.6)
LCHlch(30.0 114.0 304.8)
OKLCHoklch(0.425 0.272 265.1)
Decimal728287
Display P3color(display-p3 0.043 0.110 0.875)

Copy-ready code

/* CSS */
color: #0b1cdf;
background-color: #0b1cdf;
/* Tailwind (arbitrary) */
class="text-[#0b1cdf] bg-[#0b1cdf]"
/* SCSS */
$brand: #0b1cdf;
/* SwiftUI */
Color(red: 0.043, green: 0.110, blue: 0.875)
/* Android */
Color.parseColor("#0b1cdf")
/* Flutter */
Color(0xFF0B1CDF)
/* Python / OpenCV (BGR) */
(223, 28, 11)

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 #0b1cdf · 9.35:1
Use #ffffffAAA at every size.
Aa
White text · 9.35:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.25:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0b1cdf as text scores 9.35:1 on white and 2.25:1 on black.

Accessibility — WCAG contrast

Aa
#0b1cdf on white: 9.35:1
AA ✓ pass · AA-large · AAA
Aa
#0b1cdf on black: 2.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0051E4
deuteranopia · #003BDC
tritanopia · #006184

Color scale — 50 to 950

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

#F2F3FD
#E5E6FB
#C3C7F9
#949CFA
#5F6BF7
#2939F4
#0b1cdf
#0A18C2
#08139C
#0A1270
#060B46
Base = 600Lightest = 50 · #F2F3FDDarkest = 950 · #060B46
:root {
  --brand-50: #F2F3FD;
  --brand-100: #E5E6FB;
  --brand-200: #C3C7F9;
  --brand-300: #949CFA;
  --brand-400: #5F6BF7;
  --brand-500: #2939F4;
  --brand-600: #0b1cdf;
  --brand-700: #0A18C2;
  --brand-800: #08139C;
  --brand-900: #0A1270;
  --brand-950: #060B46;
  --brand: #0b1cdf;
  --brand-ink: #ffffff;
}

Colors that work with #0b1cdf

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#F4F5FA
Tinted page background
Border#C0C3ED
Hairlines and dividers
Muted text#4B519B
Captions on the surface
Accent#C78705
Second voice, not a rival
Dark variant#060F7A
Hover, pressed, headers
Light variant#E7E9FE
Selected rows, tints
Dark surface#141524
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 #0b1cdf

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#DFCE0B
Analogous left#0B86DF
Analogous right#640BDF
Split-complement 1#DF640B
Split-complement 2#86DF0B
Triadic 1#DF0B1C
Triadic 2#1CDF0B
Tetradic#DF0B86

RGB percentages

Red4.3%
Green11.0%
Blue87.5%

CMYK percentages

Cyan95.1%
Magenta87.4%
Yellow0.0%
Key (black)12.5%

Color previews

#0b1cdf text on a black background

contrast 2.25:1

Card sample

#0b1cdf text on a white background

contrast 9.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 28, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 28, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b1cdf;
background: linear-gradient(135deg, #0b1cdf, #870BDF);

Monochromatic scale

Palettes built from #0b1cdf

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.

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

#0b1cdf, answered

What color is #0b1cdf?

#0b1cdf is a balanced electric blue, closest to Blue (ΔE2000 3.6). It sits at 235° on the hue wheel with 91% saturation and 46% lightness, which reads as cool.

What is the RGB value of #0b1cdf?

rgb(11, 28, 223) — 11 red, 28 green and 223 blue out of 255, or 4.3% / 11% / 87.5% by channel.

Is #0b1cdf a light or a dark color?

It is a dark color. Relative luminance is 0.0623 and perceived brightness is 31%, so white text on it reaches 9.35:1.

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

White. It scores 9.35:1 against #0b1cdf, versus 2.25:1 for black — AAA at any size.

What is the complementary color of #0b1cdf?

#DFCE0B sits directly opposite on the wheel. Softer options are the split-complements #DF640B and #86DF0B, which give the same contrast with far less vibration.

What colors go well with #0b1cdf?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B519B for secondary text, #C78705 as an accent and #060F7A for hover and pressed states. For a palette, the analogous pair #0B86DF and #640BDF stays calm, while #DFCE0B is the loudest partner.

What is #0b1cdf in CMYK for printing?

cmyk(95%, 87%, 0%, 13%). 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 #0b1cdf warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #480BDF; nudged cooler, #0942E1.

Work with #0b1cdf in the Color Lab