Skip to content

#290baf

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

RGB
41, 11, 175
HSL
251°, 88%, 37%
CMYK
77, 94, 0, 31
Luminance
0.0381

At a glance

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

Hex
#290baf
Hue
251°
blue
Saturation
88%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0381
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
11.92:1
Closest name
Medium Blue
ΔE2000 3.5
Where it sits
Hue251° of 360°
Saturation88%
Lightness37%
Temperature
Warm ← → Cool77% 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#290baf
RGBrgb(41, 11, 175)
HSLhsl(251, 88%, 37%)
CMYKcmyk(77%, 94%, 0%, 31%)
LABlab(23.0 57.8 -76.9)
LCHlch(23.0 96.2 306.9)
OKLCHoklch(0.363 0.223 273.7)
Decimal2689967
Display P3color(display-p3 0.161 0.043 0.686)

Copy-ready code

/* CSS */
color: #290baf;
background-color: #290baf;
/* Tailwind (arbitrary) */
class="text-[#290baf] bg-[#290baf]"
/* SCSS */
$brand: #290baf;
/* SwiftUI */
Color(red: 0.161, green: 0.043, blue: 0.686)
/* Android */
Color.parseColor("#290baf")
/* Flutter */
Color(0xFF290BAF)
/* Python / OpenCV (BGR) */
(175, 11, 41)

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

Accessibility — WCAG contrast

Aa
#290baf on white: 11.92:1
AA ✓ pass · AA-large · AAA
Aa
#290baf on black: 1.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #003EB3
deuteranopia · #002FAD
tritanopia · #004866

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #290baf is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F2FD
#E9E5FA
#CDC4F8
#A895F8
#7C61F5
#502CF2
#360EE6
#290baf
#240A9A
#1E0C6F
#130745
Base = 700Lightest = 50 · #F4F2FDDarkest = 950 · #130745
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E9E5FA;
  --brand-200: #CDC4F8;
  --brand-300: #A895F8;
  --brand-400: #7C61F5;
  --brand-500: #502CF2;
  --brand-600: #360EE6;
  --brand-700: #290baf;
  --brand-800: #240A9A;
  --brand-900: #1E0C6F;
  --brand-950: #130745;
  --brand: #290baf;
  --brand-ink: #ffffff;
}

Colors that work with #290baf

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#F5F4FA
Tinted page background
Border#C8C0ED
Hairlines and dividers
Muted text#594B9B
Captions on the surface
Accent#C4B708
Second voice, not a rival
Dark variant#1C0878
Hover, pressed, headers
Light variant#EBE7FD
Selected rows, tints
Dark surface#171424
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 #290baf

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#91AF0B
Analogous left#0B3FAF
Analogous right#7B0BAF
Split-complement 1#AF7B0B
Split-complement 2#3FAF0B
Triadic 1#AF290B
Triadic 2#0BAF29
Tetradic#AF0B3F

RGB percentages

Red16.1%
Green4.3%
Blue68.6%

CMYK percentages

Cyan76.6%
Magenta93.7%
Yellow0.0%
Key (black)31.4%

Color previews

#290baf text on a black background

contrast 1.76:1

Card sample

#290baf text on a white background

contrast 11.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #290baf;
Background color
Panel with #290baf background
background-color: #290baf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #290baf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(41, 11, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 11, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #290baf;
background: linear-gradient(135deg, #290baf, #970BAF);

Monochromatic scale

Palettes built from #290baf

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.

#290baf 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.

#290baf, answered

What color is #290baf?

#290baf is a dark electric blue, closest to Medium Blue (ΔE2000 3.5). It sits at 251° on the hue wheel with 88% saturation and 37% lightness, which reads as cool.

What is the RGB value of #290baf?

rgb(41, 11, 175) — 41 red, 11 green and 175 blue out of 255, or 16.1% / 4.3% / 68.6% by channel.

Is #290baf a light or a dark color?

It is a dark color. Relative luminance is 0.0381 and perceived brightness is 25%, so white text on it reaches 11.92:1.

Should I use black or white text on #290baf?

White. It scores 11.92:1 against #290baf, versus 1.76:1 for black — AAA at any size.

What is the complementary color of #290baf?

#91AF0B sits directly opposite on the wheel. Softer options are the split-complements #AF7B0B and #3FAF0B, which give the same contrast with far less vibration.

What colors go well with #290baf?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #594B9B for secondary text, #C4B708 as an accent and #1C0878 for hover and pressed states. For a palette, the analogous pair #0B3FAF and #7B0BAF stays calm, while #91AF0B is the loudest partner.

What is #290baf in CMYK for printing?

cmyk(77%, 94%, 0%, 31%). 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 #290baf warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #650BAF; nudged cooler, #0928B1.

Work with #290baf in the Color Lab