Skip to content

#0630ec

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

RGB
6, 48, 236
HSL
229°, 95%, 48%
CMYK
98, 80, 0, 8
Luminance
0.0821

At a glance

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

Hex
#0630ec
Hue
229°
blue
Saturation
95%
electric
Lightness
48%
balanced
Brightness
93%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0821
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.95:1
Closest name
Blue
ΔE2000 4.7
Where it sits
Hue229° of 360°
Saturation95%
Lightness48%
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#0630ec
RGBrgb(6, 48, 236)
HSLhsl(229, 95%, 48%)
CMYKcmyk(98%, 80%, 0%, 8%)
LABlab(34.4 60.3 -93.6)
LCHlch(34.4 111.4 302.8)
OKLCHoklch(0.460 0.273 264.5)
Decimal405740
Display P3color(display-p3 0.024 0.188 0.925)

Copy-ready code

/* CSS */
color: #0630ec;
background-color: #0630ec;
/* Tailwind (arbitrary) */
class="text-[#0630ec] bg-[#0630ec]"
/* SCSS */
$brand: #0630ec;
/* SwiftUI */
Color(red: 0.024, green: 0.188, blue: 0.925)
/* Android */
Color.parseColor("#0630ec")
/* Flutter */
Color(0xFF0630EC)
/* Python / OpenCV (BGR) */
(236, 48, 6)

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

Accessibility — WCAG contrast

Aa
#0630ec on white: 7.95:1
AA ✓ pass · AA-large · AAA
Aa
#0630ec on black: 2.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CF1
deuteranopia · #0045E9
tritanopia · #006C8F

Color scale — 50 to 950

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

#F1F4FD
#E4E8FB
#C2CCFA
#92A5FC
#5B78FB
#244BF9
#0630ec
#0529C7
#04219F
#081B73
#051148
Base = 600Lightest = 50 · #F1F4FDDarkest = 950 · #051148
:root {
  --brand-50: #F1F4FD;
  --brand-100: #E4E8FB;
  --brand-200: #C2CCFA;
  --brand-300: #92A5FC;
  --brand-400: #5B78FB;
  --brand-500: #244BF9;
  --brand-600: #0630ec;
  --brand-700: #0529C7;
  --brand-800: #04219F;
  --brand-900: #081B73;
  --brand-950: #051148;
  --brand: #0630ec;
  --brand-ink: #ffffff;
}

Colors that work with #0630ec

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#CB7301
Second voice, not a rival
Dark variant#03197C
Hover, pressed, headers
Light variant#E6EBFE
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 #0630ec

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#ECC206
Analogous left#06A3EC
Analogous right#4F06EC
Split-complement 1#EC4F06
Split-complement 2#A3EC06
Triadic 1#EC0630
Triadic 2#30EC06
Tetradic#EC06A3

RGB percentages

Red2.4%
Green18.8%
Blue92.5%

CMYK percentages

Cyan97.5%
Magenta79.7%
Yellow0.0%
Key (black)7.5%

Color previews

#0630ec text on a black background

contrast 2.64:1

Card sample

#0630ec text on a white background

contrast 7.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0630ec;
Background color
Panel with #0630ec background
background-color: #0630ec;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0630ec;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(6, 48, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 48, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0630ec;
background: linear-gradient(135deg, #0630ec, #7506EC);

Monochromatic scale

Palettes built from #0630ec

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.

#0630ec 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.

#0630ec, answered

What color is #0630ec?

#0630ec is a balanced electric blue, closest to Blue (ΔE2000 4.7). It sits at 229° on the hue wheel with 95% saturation and 48% lightness, which reads as cool.

What is the RGB value of #0630ec?

rgb(6, 48, 236) — 6 red, 48 green and 236 blue out of 255, or 2.4% / 18.8% / 92.5% by channel.

Is #0630ec a light or a dark color?

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

Should I use black or white text on #0630ec?

White. It scores 7.95:1 against #0630ec, versus 2.64:1 for black — AAA at any size.

What is the complementary color of #0630ec?

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

What colors go well with #0630ec?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #CB7301 as an accent and #03197C for hover and pressed states. For a palette, the analogous pair #06A3EC and #4F06EC stays calm, while #ECC206 is the loudest partner.

What is #0630ec in CMYK for printing?

cmyk(98%, 80%, 0%, 8%). 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 #0630ec 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 #3006EC; nudged cooler, #044EEF.

Work with #0630ec in the Color Lab