#6258FB#6258FB

#6258FB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 57.0% C 0.233 H 278.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6258FB
RGBrgb(98, 88, 251)
HSLhsl(244, 95%, 66%)
HSVhsv(244, 65%, 98%)
CMYKcmyk(61%, 64.9%, 0%, 1.6%)
CIE-LABlab(47.67, 49.84, -80.03)
CIE-LCHlch(47.67, 94.28, 301.92°)
OKLaboklab(56.98% 0.0354 -0.2306)
OKLCHoklch(56.98% 0.233 278.7)
XYZxyz(25.9337, 16.5392, 93.0738)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258FB #F1FB58
analogous
#58A0FB #6258FB #B458FB
triadic
#6258FB #FB6258 #58FB62
tetradic
#6258FB #FB58A0 #F1FB58 #58FBB4
square
#6258FB #FB58A0 #F1FB58 #58FBB4
split-complementary
#6258FB #FBB458 #A0FB58
monochromatic
#1205D4 #2A1CFA #6258FB #9A94FC #D2D0FE

Accessibility & contrast

On white

4.87
#6258FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6258FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258FB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258FB#FFFFFF#000000##FFFFFF
##6258FB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006BF8
Tritanopia (blue-blind)
#0082A2
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6258fb;
/* rgb */ color: rgb(98, 88, 251);
/* oklch */ color: oklch(57.0% 0.233 278.7);
Tailwind
colors: {
  custom: {
    50: '#9e88fe',
    500: '#6258fb',
    950: '#000000',
  },
}
SCSS
$custom: #6258fb;
$custom-light: #9e88fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6258fb",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 243.681,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.23331,
    "h": 278.7
  },
  "luminance": 0.16541
}

Semantic roles & 50–950 ramp

primary
#6258FB
secondary
#EFF2BD
accent
#E600D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6258FB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6258FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva