#6281F1#6281F1

#6281F1 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.171 H 269.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6281F1
RGBrgb(98, 129, 241)
HSLhsl(227, 84%, 66%)
HSVhsv(227, 59%, 95%)
CMYKcmyk(59.3%, 46.5%, 0%, 5.5%)
CIE-LABlab(56.73, 22.19, -59.80)
CIE-LCHlch(56.73, 63.78, 290.36°)
OKLaboklab(63.51% -0.0017 -0.1708)
OKLCHoklch(63.51% 0.171 269.4)
XYZxyz(28.7591, 24.6457, 86.4436)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281F1 #F1D262
analogous
#62C9F1 #6281F1 #8B62F1
triadic
#6281F1 #F16281 #81F162
tetradic
#6281F1 #F162C9 #F1D262 #62F18B
square
#6281F1 #F162C9 #F1D262 #62F18B
split-complementary
#6281F1 #F18B62 #C9F162
monochromatic
#1239C7 #2A54EC #6281F1 #9AAEF6 #D2DBFB

Accessibility & contrast

On white

3.54
#6281F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#6281F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281F1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281F1#FFFFFF#000000##000000
##6281F11.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF5
Deuteranopia (green-blind)
#3382EF
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6281f1;
/* rgb */ color: rgb(98, 129, 241);
/* oklch */ color: oklch(63.5% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#9aa5f6',
    500: '#6281f1',
    950: '#000000',
  },
}
SCSS
$custom: #6281f1;
$custom-light: #9aa5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6281f1",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 241
  },
  "hsl": {
    "h": 226.993,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.1708,
    "h": 269.4
  },
  "luminance": 0.24648
}

Semantic roles & 50–950 ramp

primary
#6281F1
secondary
#EFE5C0
accent
#B105E0
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6281F1

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

Preview Lab → · Contrast checker → · Palette generator →

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