#6258EC#6258EC

#6258EC is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.215 H 279.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6258EC
RGBrgb(98, 88, 236)
HSLhsl(244, 80%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(58.5%, 62.7%, 0%, 7.5%)
CIE-LABlab(46.49, 45.20, -73.57)
CIE-LCHlch(46.49, 86.35, 301.57°)
OKLaboklab(55.75% 0.0368 -0.2116)
OKLCHoklch(55.75% 0.215 279.9)
XYZxyz(23.6623, 15.6306, 81.1107)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258EC #E2EC58
analogous
#5898EC #6258EC #AC58EC
triadic
#6258EC #EC6258 #58EC62
tetradic
#6258EC #EC5898 #E2EC58 #58ECAC
square
#6258EC #EC5898 #E2EC58 #58ECAC
split-complementary
#6258EC #ECAC58 #98EC58
monochromatic
#1F15B5 #2E21E6 #6258EC #968FF2 #C9C6F9

Accessibility & contrast

On white

5.09
#6258EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6258EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258EC#FFFFFF#000000##FFFFFF
##6258EC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6258ec;
/* rgb */ color: rgb(98, 88, 236);
/* oklch */ color: oklch(55.7% 0.215 279.9);
Tailwind
colors: {
  custom: {
    50: '#9b88f3',
    500: '#6258ec',
    950: '#000000',
  },
}
SCSS
$custom: #6258ec;
$custom-light: #9b88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ec",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 244.054,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.21482,
    "h": 279.9
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#6258EC
secondary
#E7EAB6
accent
#DC0ACE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258EC

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

Preview Lab → · Contrast checker → · Palette generator →

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