#6281F5#6281F5

#6281F5 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.8% C 0.176 H 269.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6281F5
RGBrgb(98, 129, 245)
HSLhsl(227, 88%, 67%)
HSVhsv(227, 60%, 96%)
CMYKcmyk(60%, 47.3%, 0%, 3.9%)
CIE-LABlab(56.97, 23.50, -61.63)
CIE-LCHlch(56.97, 65.96, 290.87°)
OKLaboklab(63.76% -0.0012 -0.1762)
OKLCHoklch(63.76% 0.176 269.6)
XYZxyz(29.3631, 24.8873, 89.6249)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281F5 #F5D662
analogous
#62CBF5 #6281F5 #8D62F5
triadic
#6281F5 #F56281 #81F562
tetradic
#6281F5 #F562CB #F5D662 #62F58D
square
#6281F5 #F562CB #F5D662 #62F58D
split-complementary
#6281F5 #F58D62 #CBF562
monochromatic
#0D36CF #2853F1 #6281F5 #9CAFF9 #D5DDFC

Accessibility & contrast

On white

3.51
#6281F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#6281F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281F5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281F5#FFFFFF#000000##000000
##6281F51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#2C83F3
Tritanopia (blue-blind)
#009BAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6281f5;
/* rgb */ color: rgb(98, 129, 245);
/* oklch */ color: oklch(63.8% 0.176 269.6);
Tailwind
colors: {
  custom: {
    50: '#9ba5f9',
    500: '#6281f5',
    950: '#000000',
  },
}
SCSS
$custom: #6281f5;
$custom-light: #9ba5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6281f5",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 227.347,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.17619,
    "h": 269.6
  },
  "luminance": 0.2489
}

Semantic roles & 50–950 ramp

primary
#6281F5
secondary
#F1E7C2
accent
#B501E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6281F5

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

Preview Lab → · Contrast checker → · Palette generator →

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