#6281F2#6281F2

#6281F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.172 H 269.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6281F2
RGBrgb(98, 129, 242)
HSLhsl(227, 85%, 67%)
HSVhsv(227, 60%, 95%)
CMYKcmyk(59.5%, 46.7%, 0%, 5.1%)
CIE-LABlab(56.79, 22.52, -60.26)
CIE-LCHlch(56.79, 64.33, 290.49°)
OKLaboklab(63.57% -0.0016 -0.1721)
OKLCHoklch(63.57% 0.172 269.5)
XYZxyz(28.9089, 24.7056, 87.2324)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281F2 #F2D362
analogous
#62C9F2 #6281F2 #8B62F2
triadic
#6281F2 #F26281 #81F262
tetradic
#6281F2 #F262C9 #F2D362 #62F28B
square
#6281F2 #F262C9 #F2D362 #62F28B
split-complementary
#6281F2 #F28B62 #C9F262
monochromatic
#1138C9 #2954ED #6281F2 #9BAEF7 #D3DCFB

Accessibility & contrast

On white

3.53
#6281F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#6281F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281F2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281F2#FFFFFF#000000##000000
##6281F21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#3282F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6281f2;
/* rgb */ color: rgb(98, 129, 242);
/* oklch */ color: oklch(63.6% 0.172 269.5);
Tailwind
colors: {
  custom: {
    50: '#9aa5f7',
    500: '#6281f2',
    950: '#000000',
  },
}
SCSS
$custom: #6281f2;
$custom-light: #9aa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6281f2",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 227.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63571,
    "c": 0.17215,
    "h": 269.5
  },
  "luminance": 0.24708
}

Semantic roles & 50–950 ramp

primary
#6281F2
secondary
#EFE5C1
accent
#B204E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6281F2

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

Preview Lab → · Contrast checker → · Palette generator →

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