#6281E5#6281E5

#6281E5 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.154 H 268.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6281E5
RGBrgb(98, 129, 229)
HSLhsl(226, 72%, 64%)
HSVhsv(226, 57%, 90%)
CMYKcmyk(57.2%, 43.7%, 0%, 10.2%)
CIE-LABlab(56.04, 18.27, -54.22)
CIE-LCHlch(56.04, 57.22, 288.62°)
OKLaboklab(62.76% -0.0035 -0.1544)
OKLCHoklch(62.76% 0.154 268.7)
XYZxyz(27.0254, 23.9522, 77.3126)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281E5 #E5C662
analogous
#62C2E5 #6281E5 #8562E5
triadic
#6281E5 #E56281 #81E562
tetradic
#6281E5 #E562C2 #E5C662 #62E585
square
#6281E5 #E562C2 #E5C662 #62E585
split-complementary
#6281E5 #E58562 #C2E562
monochromatic
#1D40B0 #2D57DC #6281E5 #97ABEE #CBD5F6

Accessibility & contrast

On white

3.63
#6281E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#6281E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281E5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281E5#FFFFFF#000000##000000
##6281E51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#548DE9
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6281e5;
/* rgb */ color: rgb(98, 129, 229);
/* oklch */ color: oklch(62.8% 0.154 268.7);
Tailwind
colors: {
  custom: {
    50: '#98a5ee',
    500: '#6281e5',
    950: '#000000',
  },
}
SCSS
$custom: #6281e5;
$custom-light: #98a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6281e5",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 225.802,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.15445,
    "h": 268.7
  },
  "luminance": 0.23954
}

Semantic roles & 50–950 ramp

primary
#6281E5
secondary
#E8DDBB
accent
#A612D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6281E5

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

Preview Lab → · Contrast checker → · Palette generator →

#6281E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva