#6258CD#6258CD

#6258CD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.175 H 282.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6258CD
RGBrgb(98, 88, 205)
HSLhsl(245, 54%, 57%)
HSVhsv(245, 57%, 80%)
CMYKcmyk(52.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(44.21, 35.59, -59.63)
CIE-LCHlch(44.21, 69.44, 300.83°)
OKLaboklab(53.36% 0.0381 -0.1707)
OKLCHoklch(53.36% 0.175 282.6)
XYZxyz(19.5428, 13.9828, 59.4149)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258CD #C3CD58
analogous
#5889CD #6258CD #9C58CD
triadic
#6258CD #CD6258 #58CD62
tetradic
#6258CD #CD5889 #C3CD58 #58CD9C
square
#6258CD #CD5889 #C3CD58 #58CD9C
split-complementary
#6258CD #CD9C58 #89CD58
monochromatic
#2F2783 #4035B2 #6258CD #8E87DB #BBB6E9

Accessibility & contrast

On white

5.53
#6258CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6258CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258CD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258CD#FFFFFF#000000##FFFFFF
##6258CD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#36738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6258cd;
/* rgb */ color: rgb(98, 88, 205);
/* oklch */ color: oklch(53.4% 0.175 282.6);
Tailwind
colors: {
  custom: {
    50: '#9787dd',
    500: '#6258cd',
    950: '#000000',
  },
}
SCSS
$custom: #6258cd;
$custom-light: #9787dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6258cd",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 245.128,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.17485,
    "h": 282.6
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#6258CD
secondary
#D4D8A9
accent
#DD4BD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6258CD

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

Preview Lab → · Contrast checker → · Palette generator →

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