Skip to content

#0b2fda

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

RGB
11, 47, 218
HSL
230°, 90%, 45%
CMYK
95, 78, 0, 15
Luminance
0.0717

At a glance

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

Hex
#0b2fda
Hue
230°
blue
Saturation
90%
electric
Lightness
45%
dark
Brightness
85%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0717
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.63:1
Closest name
Blue
ΔE2000 5.5
Where it sits
Hue230° of 360°
Saturation90%
Lightness45%
Temperature
Warm ← → Cool89% 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#0b2fda
RGBrgb(11, 47, 218)
HSLhsl(230, 90%, 45%)
CMYKcmyk(95%, 78%, 0%, 15%)
LABlab(32.2 55.2 -87.0)
LCHlch(32.2 103.0 302.4)
OKLCHoklch(0.438 0.253 264.9)
Decimal733146
Display P3color(display-p3 0.043 0.184 0.855)

Copy-ready code

/* CSS */
color: #0b2fda;
background-color: #0b2fda;
/* Tailwind (arbitrary) */
class="text-[#0b2fda] bg-[#0b2fda]"
/* SCSS */
$brand: #0b2fda;
/* SwiftUI */
Color(red: 0.043, green: 0.184, blue: 0.855)
/* Android */
Color.parseColor("#0b2fda")
/* Flutter */
Color(0xFF0B2FDA)
/* Python / OpenCV (BGR) */
(218, 47, 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 #0b2fda · 8.63:1
Use #ffffffAAA at every size.
Aa
White text · 8.63:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.43:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0b2fda as text scores 8.63:1 on white and 2.43:1 on black.

Accessibility — WCAG contrast

Aa
#0b2fda on white: 8.63:1
AA ✓ pass · AA-large · AAA
Aa
#0b2fda on black: 2.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056DF
deuteranopia · #0041D7
tritanopia · #006585

Color scale — 50 to 950

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

#F2F4FD
#E5E8FB
#C3CCF9
#94A6FA
#5F79F7
#294DF4
#0b2fda
#0A2AC2
#08219B
#0A1C70
#061146
Base = 600Lightest = 50 · #F2F4FDDarkest = 950 · #061146
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E5E8FB;
  --brand-200: #C3CCF9;
  --brand-300: #94A6FA;
  --brand-400: #5F79F7;
  --brand-500: #294DF4;
  --brand-600: #0b2fda;
  --brand-700: #0A2AC2;
  --brand-800: #08219B;
  --brand-900: #0A1C70;
  --brand-950: #061146;
  --brand: #0b2fda;
  --brand-ink: #ffffff;
}

Colors that work with #0b2fda

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#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#C77505
Second voice, not a rival
Dark variant#061A79
Hover, pressed, headers
Light variant#E7EBFE
Selected rows, tints
Dark surface#141724
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 #0b2fda

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
  • Text on black or near-black surfaces
  • 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#DAB60B
Analogous left#0B96DA
Analogous right#4F0BDA
Split-complement 1#DA4F0B
Split-complement 2#96DA0B
Triadic 1#DA0B2F
Triadic 2#2FDA0B
Tetradic#DA0B96

RGB percentages

Red4.3%
Green18.4%
Blue85.5%

CMYK percentages

Cyan95.0%
Magenta78.4%
Yellow0.0%
Key (black)14.5%

Color previews

#0b2fda text on a black background

contrast 2.43:1

Card sample

#0b2fda text on a white background

contrast 8.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 47, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 47, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b2fda;
background: linear-gradient(135deg, #0b2fda, #710BDA);

Monochromatic scale

Palettes built from #0b2fda

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.

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

#0b2fda, answered

What color is #0b2fda?

#0b2fda is a dark electric blue, closest to Blue (ΔE2000 5.5). It sits at 230° on the hue wheel with 90% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0b2fda?

rgb(11, 47, 218) — 11 red, 47 green and 218 blue out of 255, or 4.3% / 18.4% / 85.5% by channel.

Is #0b2fda a light or a dark color?

It is a dark color. Relative luminance is 0.0717 and perceived brightness is 32%, so white text on it reaches 8.63:1.

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

White. It scores 8.63:1 against #0b2fda, versus 2.43:1 for black — AAA at any size.

What is the complementary color of #0b2fda?

#DAB60B sits directly opposite on the wheel. Softer options are the split-complements #DA4F0B and #96DA0B, which give the same contrast with far less vibration.

What colors go well with #0b2fda?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #C77505 as an accent and #061A79 for hover and pressed states. For a palette, the analogous pair #0B96DA and #4F0BDA stays calm, while #DAB60B is the loudest partner.

What is #0b2fda in CMYK for printing?

cmyk(95%, 78%, 0%, 15%). 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 #0b2fda warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #330BDA; nudged cooler, #094CDC.

Work with #0b2fda in the Color Lab