Skip to content

#6258df

a balanced, vivid blue · cool · closest name: Slate Blue

RGB
98, 88, 223
HSL
244°, 68%, 61%
CMYK
56, 61, 0, 13
Luminance
0.1490

At a glance

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

Hex
#6258df
Hue
244°
blue
Saturation
68%
vivid
Lightness
61%
balanced
Brightness
87%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1490
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.28:1
Closest name
Slate Blue
ΔE2000 2.9
Where it sits
Hue244° of 360°
Saturation68%
Lightness61%
Temperature
Warm ← → Cool81% 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#6258df
RGBrgb(98, 88, 223)
HSLhsl(244, 68%, 61%)
CMYKcmyk(56%, 61%, 0%, 13%)
LABlab(45.5 41.2 -67.8)
LCHlch(45.5 79.3 301.3)
OKLCHoklch(0.547 0.198 280.9)
Decimal6445279
Display P3color(display-p3 0.384 0.345 0.875)

Copy-ready code

/* CSS */
color: #6258df;
background-color: #6258df;
/* Tailwind (arbitrary) */
class="text-[#6258df] bg-[#6258df]"
/* SCSS */
$brand: #6258df;
/* SwiftUI */
Color(red: 0.384, green: 0.345, blue: 0.875)
/* Android */
Color.parseColor("#6258df")
/* Flutter */
Color(0xFF6258DF)
/* Python / OpenCV (BGR) */
(223, 88, 98)

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

Accessibility — WCAG contrast

Aa
#6258df on white: 5.28:1
AA ✓ pass · AA-large · AAA
Aa
#6258df on black: 3.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0071E3
deuteranopia · #0067DC
tritanopia · #1F7993

Color scale — 50 to 950

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

#F4F3FB
#E9E8F8
#CDCAF2
#A6A1ED
#7A72E4
#6258df
#3427CD
#2B21AB
#221A89
#1D1763
#120E3E
Base = 500Lightest = 50 · #F4F3FBDarkest = 950 · #120E3E
:root {
  --brand-50: #F4F3FB;
  --brand-100: #E9E8F8;
  --brand-200: #CDCAF2;
  --brand-300: #A6A1ED;
  --brand-400: #7A72E4;
  --brand-500: #6258df;
  --brand-600: #3427CD;
  --brand-700: #2B21AB;
  --brand-800: #221A89;
  --brand-900: #1D1763;
  --brand-950: #120E3E;
  --brand: #6258df;
  --brand-ink: #ffffff;
}

Colors that work with #6258df

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#C3C0ED
Hairlines and dividers
Muted text#504B9B
Captions on the surface
Accent#AF961D
Second voice, not a rival
Dark variant#1B156B
Hover, pressed, headers
Light variant#EBEAFB
Selected rows, tints
Dark surface#151424
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 #6258df

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
  • 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#D5DF58
Analogous left#5892DF
Analogous right#A558DF
Split-complement 1#DFA558
Split-complement 2#92DF58
Triadic 1#DF6258
Triadic 2#58DF62
Tetradic#DF5892

RGB percentages

Red38.4%
Green34.5%
Blue87.5%

CMYK percentages

Cyan56.1%
Magenta60.5%
Yellow0.0%
Key (black)12.5%

Color previews

#6258df text on a black background

contrast 3.98:1

Card sample

#6258df text on a white background

contrast 5.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6258df

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.

#6258df 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

Converts to four-color process without much drama. Proof it anyway.

#6258df, answered

What color is #6258df?

#6258df is a balanced vivid blue, closest to Slate Blue (ΔE2000 2.9). It sits at 244° on the hue wheel with 68% saturation and 61% lightness, which reads as cool.

What is the RGB value of #6258df?

rgb(98, 88, 223) — 98 red, 88 green and 223 blue out of 255, or 38.4% / 34.5% / 87.5% by channel.

Is #6258df a light or a dark color?

It is a dark color. Relative luminance is 0.1490 and perceived brightness is 45%, so white text on it reaches 5.28:1.

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

White. It scores 5.28:1 against #6258df, versus 3.98:1 for black — AA at any size.

What is the complementary color of #6258df?

#D5DF58 sits directly opposite on the wheel. Softer options are the split-complements #DFA558 and #92DF58, which give the same contrast with far less vibration.

What colors go well with #6258df?

For interface work: #F5F4FA as the surface, #C3C0ED for borders, #504B9B for secondary text, #AF961D as an accent and #1B156B for hover and pressed states. For a palette, the analogous pair #5892DF and #A558DF stays calm, while #D5DF58 is the loudest partner.

What is #6258df in CMYK for printing?

cmyk(56%, 61%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #6258df warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9358DF; nudged cooler, #567AE1.

Work with #6258df in the Color Lab