#6281E2#6281E2

#6281E2 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.150 H 268.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6281E2
RGBrgb(98, 129, 226)
HSLhsl(225, 69%, 64%)
HSVhsv(225, 57%, 89%)
CMYKcmyk(56.6%, 42.9%, 0%, 11.4%)
CIE-LABlab(55.87, 17.30, -52.81)
CIE-LCHlch(55.87, 55.57, 288.14°)
OKLaboklab(62.58% -0.004 -0.1503)
OKLCHoklch(62.58% 0.15 268.5)
XYZxyz(26.6101, 23.7861, 75.1257)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281E2 #E2C362
analogous
#62C1E2 #6281E2 #8362E2
triadic
#6281E2 #E26281 #81E262
tetradic
#6281E2 #E262C1 #E2C362 #62E283
square
#6281E2 #E262C1 #E2C362 #62E283
split-complementary
#6281E2 #E28362 #C1E262
monochromatic
#1F41AA #2E58D8 #6281E2 #96AAEC #C9D4F5

Accessibility & contrast

On white

3.65
#6281E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#6281E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281E2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281E2#FFFFFF#000000##000000
##6281E21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#4681E0
Tritanopia (blue-blind)
#0296A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6281e2;
/* rgb */ color: rgb(98, 129, 226);
/* oklch */ color: oklch(62.6% 0.150 268.5);
Tailwind
colors: {
  custom: {
    50: '#98a5eb',
    500: '#6281e2',
    950: '#000000',
  },
}
SCSS
$custom: #6281e2;
$custom-light: #98a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6281e2",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 225.469,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62576,
    "c": 0.15032,
    "h": 268.5
  },
  "luminance": 0.23788
}

Semantic roles & 50–950 ramp

primary
#6281E2
secondary
#E7DCB9
accent
#A315D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #6281E2

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

Preview Lab → · Contrast checker → · Palette generator →

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