#6281F6#6281F6

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

Color values

HEX#6281F6
RGBrgb(98, 129, 246)
HSLhsl(227, 89%, 67%)
HSVhsv(227, 60%, 96%)
CMYKcmyk(60.2%, 47.6%, 0%, 3.5%)
CIE-LABlab(57.03, 23.83, -62.09)
CIE-LCHlch(57.03, 66.51, 291.00°)
OKLaboklab(63.83% -0.0011 -0.1775)
OKLCHoklch(63.83% 0.178 269.6)
XYZxyz(29.5162, 24.9485, 90.4310)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281F6 #F6D762
analogous
#62CBF6 #6281F6 #8D62F6
triadic
#6281F6 #F66281 #81F662
tetradic
#6281F6 #F662CB #F6D762 #62F68D
square
#6281F6 #F662CB #F6D762 #62F68D
split-complementary
#6281F6 #F68D62 #CBF662
monochromatic
#0C35D2 #2853F3 #6281F6 #9CAFF9 #D6DEFD

Accessibility & contrast

On white

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

On black

5.99
#6281F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281F6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281F6#FFFFFF#000000##000000
##6281F61.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#2B83F4
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6281f6;
/* rgb */ color: rgb(98, 129, 246);
/* oklch */ color: oklch(63.8% 0.178 269.6);
Tailwind
colors: {
  custom: {
    50: '#9ba5fa',
    500: '#6281f6',
    950: '#000000',
  },
}
SCSS
$custom: #6281f6;
$custom-light: #9ba5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6281f6",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 227.432,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63828,
    "c": 0.17753,
    "h": 269.6
  },
  "luminance": 0.24951
}

Semantic roles & 50–950 ramp

primary
#6281F6
secondary
#F1E7C3
accent
#B500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6281F6

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

Preview Lab → · Contrast checker → · Palette generator →

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