Skip to content

#0381df

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

RGB
3, 129, 223
HSL
206°, 97%, 44%
CMYK
99, 42, 0, 13
Luminance
0.2105

At a glance

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

Hex
#0381df
Hue
206°
blue
Saturation
97%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2105
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.21:1
Closest name
Steel Blue
ΔE2000 4.4
Where it sits
Hue206° of 360°
Saturation97%
Lightness44%
Temperature
Warm ← → Cool98% 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#0381df
RGBrgb(3, 129, 223)
HSLhsl(206, 97%, 44%)
CMYKcmyk(99%, 42%, 0%, 13%)
LABlab(53.0 5.8 -55.9)
LCHlch(53.0 56.2 276.0)
OKLCHoklch(0.596 0.170 250.5)
Decimal229855
Display P3color(display-p3 0.012 0.506 0.875)

Copy-ready code

/* CSS */
color: #0381df;
background-color: #0381df;
/* Tailwind (arbitrary) */
class="text-[#0381df] bg-[#0381df]"
/* SCSS */
$brand: #0381df;
/* SwiftUI */
Color(red: 0.012, green: 0.506, blue: 0.875)
/* Android */
Color.parseColor("#0381df")
/* Flutter */
Color(0xFF0381DF)
/* Python / OpenCV (BGR) */
(223, 129, 3)

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

Accessibility — WCAG contrast

Aa
#0381df on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#0381df on black: 5.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5088E3
deuteranopia · #2877DD
tritanopia · #0098A5

Color scale — 50 to 950

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

#F1F8FD
#E4F1FC
#C1E2FB
#90CFFD
#59B7FD
#229FFC
#0381df
#0375C9
#025DA1
#064574
#042B48
Base = 600Lightest = 50 · #F1F8FDDarkest = 950 · #042B48
:root {
  --brand-50: #F1F8FD;
  --brand-100: #E4F1FC;
  --brand-200: #C1E2FB;
  --brand-300: #90CFFD;
  --brand-400: #59B7FD;
  --brand-500: #229FFC;
  --brand-600: #0381df;
  --brand-700: #0375C9;
  --brand-800: #025DA1;
  --brand-900: #064574;
  --brand-950: #042B48;
  --brand: #0381df;
  --brand-ink: #000000;
}

Colors that work with #0381df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0D9ED
Hairlines and dividers
Muted text#4B799B
Captions on the surface
Accent#E22800
Second voice, not a rival
Dark variant#02497E
Hover, pressed, headers
Light variant#E6F4FF
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 #0381df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#DF6103
Analogous left#03DFCF
Analogous right#0313DF
Split-complement 1#DF0313
Split-complement 2#DFCF03
Triadic 1#DF0381
Triadic 2#81DF03
Tetradic#CF03DF

RGB percentages

Red1.2%
Green50.6%
Blue87.5%

CMYK percentages

Cyan98.7%
Magenta42.2%
Yellow0.0%
Key (black)12.5%

Color previews

#0381df text on a black background

contrast 5.21:1

Card sample

#0381df text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0381df;
Background color
Panel with #0381df background
background-color: #0381df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0381df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(3, 129, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 129, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0381df;
background: linear-gradient(135deg, #0381df, #1803DF);

Monochromatic scale

Palettes built from #0381df

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.

#0381df 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.

#0381df, answered

What color is #0381df?

#0381df is a dark electric blue, closest to Steel Blue (ΔE2000 4.4). It sits at 206° on the hue wheel with 97% saturation and 44% lightness, which reads as cool.

What is the RGB value of #0381df?

rgb(3, 129, 223) — 3 red, 129 green and 223 blue out of 255, or 1.2% / 50.6% / 87.5% by channel.

Is #0381df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2105 and perceived brightness is 49%, so black text on it reaches 5.21:1.

Should I use black or white text on #0381df?

Black. It scores 5.21:1 against #0381df, versus 4.03:1 for white — AA at any size.

What is the complementary color of #0381df?

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

What colors go well with #0381df?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B799B for secondary text, #E22800 as an accent and #02497E for hover and pressed states. For a palette, the analogous pair #03DFCF and #0313DF stays calm, while #DF6103 is the loudest partner.

What is #0381df in CMYK for printing?

cmyk(99%, 42%, 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 #0381df warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0330DF; nudged cooler, #0169C8.

Work with #0381df in the Color Lab