#6281EC#6281EC

#6281EC is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.164 H 269.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6281EC
RGBrgb(98, 129, 236)
HSLhsl(227, 78%, 65%)
HSVhsv(227, 58%, 93%)
CMYKcmyk(58.5%, 45.3%, 0%, 7.5%)
CIE-LABlab(56.44, 20.55, -57.49)
CIE-LCHlch(56.44, 61.05, 289.67°)
OKLaboklab(63.19% -0.0024 -0.164)
OKLCHoklch(63.19% 0.164 269.2)
XYZxyz(28.0225, 24.3511, 82.5641)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281EC #ECCD62
analogous
#62C6EC #6281EC #8862EC
triadic
#6281EC #EC6281 #81EC62
tetradic
#6281EC #EC62C6 #ECCD62 #62EC88
square
#6281EC #EC62C6 #ECCD62 #62EC88
split-complementary
#6281EC #EC8862 #C6EC62
monochromatic
#173CBD #2B55E5 #6281EC #99ADF3 #CFD9F9

Accessibility & contrast

On white

3.58
#6281EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#6281EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281EC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281EC#FFFFFF#000000##000000
##6281EC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#3A82EA
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6281ec;
/* rgb */ color: rgb(98, 129, 236);
/* oklch */ color: oklch(63.2% 0.164 269.2);
Tailwind
colors: {
  custom: {
    50: '#99a5f3',
    500: '#6281ec',
    950: '#000000',
  },
}
SCSS
$custom: #6281ec;
$custom-light: #99a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6281ec",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 226.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.16402,
    "h": 269.2
  },
  "luminance": 0.24353
}

Semantic roles & 50–950 ramp

primary
#6281EC
secondary
#ECE2BE
accent
#AC0BDB
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6281EC

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

Preview Lab → · Contrast checker → · Palette generator →

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