#6258CF#6258CF

#6258CF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.178 H 282.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6258CF
RGBrgb(98, 88, 207)
HSLhsl(245, 55%, 58%)
HSVhsv(245, 57%, 81%)
CMYKcmyk(52.7%, 57.5%, 0%, 18.8%)
CIE-LABlab(44.35, 36.21, -60.55)
CIE-LCHlch(44.35, 70.55, 300.88°)
OKLaboklab(53.51% 0.0381 -0.1734)
OKLCHoklch(53.51% 0.178 282.4)
XYZxyz(19.7858, 14.0800, 60.6945)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258CF #C5CF58
analogous
#5889CF #6258CF #9D58CF
triadic
#6258CF #CF6258 #58CF62
tetradic
#6258CF #CF5889 #C5CF58 #58CF9D
square
#6258CF #CF5889 #C5CF58 #58CF9D
split-complementary
#6258CF #CF9D58 #89CF58
monochromatic
#2F2786 #3F34B6 #6258CF #8F88DD #BBB7EA

Accessibility & contrast

On white

5.50
#6258CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6258CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258CF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258CF#FFFFFF#000000##FFFFFF
##6258CF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#34748B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6258cf;
/* rgb */ color: rgb(98, 88, 207);
/* oklch */ color: oklch(53.5% 0.178 282.4);
Tailwind
colors: {
  custom: {
    50: '#9787de',
    500: '#6258cf',
    950: '#000000',
  },
}
SCSS
$custom: #6258cf;
$custom-light: #9787de;
$custom-dark: #000000;
JSON
{
  "hex": "#6258cf",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 245.042,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.17751,
    "h": 282.4
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#6258CF
secondary
#D5D9AA
accent
#DF49D2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6258CF

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

Preview Lab → · Contrast checker → · Palette generator →

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