#6258DD#6258DD

#6258DD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.196 H 281.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6258DD
RGBrgb(98, 88, 221)
HSLhsl(245, 66%, 61%)
HSVhsv(245, 60%, 87%)
CMYKcmyk(55.7%, 60.2%, 0%, 13.3%)
CIE-LABlab(45.35, 40.55, -66.93)
CIE-LCHlch(45.35, 78.25, 301.21°)
OKLaboklab(54.56% 0.0377 -0.1921)
OKLCHoklch(54.56% 0.196 281.1)
XYZxyz(21.5738, 14.7952, 70.1115)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258DD #D3DD58
analogous
#5890DD #6258DD #A458DD
triadic
#6258DD #DD6258 #58DD62
tetradic
#6258DD #DD5890 #D3DD58 #58DDA4
square
#6258DD #DD5890 #D3DD58 #58DDA4
split-complementary
#6258DD #DDA458 #90DD58
monochromatic
#29209B #362ACE #6258DD #928BE7 #C2BEF2

Accessibility & contrast

On white

5.30
#6258DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6258DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258DD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258DD#FFFFFF#000000##FFFFFF
##6258DD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#237892
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6258dd;
/* rgb */ color: rgb(98, 88, 221);
/* oklch */ color: oklch(54.6% 0.196 281.1);
Tailwind
colors: {
  custom: {
    50: '#9988e8',
    500: '#6258dd',
    950: '#000000',
  },
}
SCSS
$custom: #6258dd;
$custom-light: #9988e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6258dd",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 244.511,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.19579,
    "h": 281.1
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#6258DD
secondary
#DEE2AF
accent
#CE17C0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6258DD

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

Preview Lab → · Contrast checker → · Palette generator →

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