Skip to content

#0b2cef

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

RGB
11, 44, 239
HSL
231°, 91%, 49%
CMYK
95, 82, 0, 6
Luminance
0.0810

At a glance

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

Hex
#0b2cef
Hue
231°
blue
Saturation
91%
electric
Lightness
49%
balanced
Brightness
94%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0810
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.01:1
Closest name
Blue
ΔE2000 3.9
Where it sits
Hue231° of 360°
Saturation91%
Lightness49%
Temperature
Warm ← → Cool88% 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#0b2cef
RGBrgb(11, 44, 239)
HSLhsl(231, 91%, 49%)
CMYKcmyk(95%, 82%, 0%, 6%)
LABlab(34.2 63.2 -95.7)
LCHlch(34.2 114.7 303.4)
OKLCHoklch(0.460 0.278 264.9)
Decimal732399
Display P3color(display-p3 0.043 0.173 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b2cef on white: 8.01:1
AA ✓ pass · AA-large · AAA
Aa
#0b2cef on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CF4
deuteranopia · #0045EC
tritanopia · #006C90

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0b2cef 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
#E5E8FB
#C3CBF9
#94A3FA
#5E74F8
#2846F5
#0b2cef
#0924C3
#071D9C
#0A1971
#060F46
Base = 600Lightest = 50 · #F2F3FDDarkest = 950 · #060F46
:root {
  --brand-50: #F2F3FD;
  --brand-100: #E5E8FB;
  --brand-200: #C3CBF9;
  --brand-300: #94A3FA;
  --brand-400: #5E74F8;
  --brand-500: #2846F5;
  --brand-600: #0b2cef;
  --brand-700: #0924C3;
  --brand-800: #071D9C;
  --brand-900: #0A1971;
  --brand-950: #060F46;
  --brand: #0b2cef;
  --brand-ink: #ffffff;
}

Colors that work with #0b2cef

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#C0C6ED
Hairlines and dividers
Muted text#4B569B
Captions on the surface
Accent#C77A05
Second voice, not a rival
Dark variant#06167A
Hover, pressed, headers
Light variant#E7EAFE
Selected rows, tints
Dark surface#141624
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 #0b2cef

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#EFCE0B
Analogous left#0B9EEF
Analogous right#5C0BEF
Split-complement 1#EF5C0B
Split-complement 2#9EEF0B
Triadic 1#EF0B2C
Triadic 2#2CEF0B
Tetradic#EF0B9E

RGB percentages

Red4.3%
Green17.3%
Blue93.7%

CMYK percentages

Cyan95.4%
Magenta81.6%
Yellow0.0%
Key (black)6.3%

Color previews

#0b2cef text on a black background

contrast 2.62:1

Card sample

#0b2cef text on a white background

contrast 8.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 44, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 44, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b2cef;
background: linear-gradient(135deg, #0b2cef, #820BEF);

Monochromatic scale

Palettes built from #0b2cef

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.

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

#0b2cef, answered

What color is #0b2cef?

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

What is the RGB value of #0b2cef?

rgb(11, 44, 239) — 11 red, 44 green and 239 blue out of 255, or 4.3% / 17.3% / 93.7% by channel.

Is #0b2cef a light or a dark color?

It is a dark color. Relative luminance is 0.0810 and perceived brightness is 34%, so white text on it reaches 8.01:1.

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

White. It scores 8.01:1 against #0b2cef, versus 2.62:1 for black — AAA at any size.

What is the complementary color of #0b2cef?

#EFCE0B sits directly opposite on the wheel. Softer options are the split-complements #EF5C0B and #9EEF0B, which give the same contrast with far less vibration.

What colors go well with #0b2cef?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B569B for secondary text, #C77A05 as an accent and #06167A for hover and pressed states. For a palette, the analogous pair #0B9EEF and #5C0BEF stays calm, while #EFCE0B is the loudest partner.

What is #0b2cef in CMYK for printing?

cmyk(95%, 82%, 0%, 6%). 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 #0b2cef warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3E0BEF; nudged cooler, #084DF1.

Work with #0b2cef in the Color Lab