#6281E4#6281E4

#6281E4 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.7% C 0.153 H 268.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6281E4
RGBrgb(98, 129, 228)
HSLhsl(226, 71%, 64%)
HSVhsv(226, 57%, 89%)
CMYKcmyk(57%, 43.4%, 0%, 10.6%)
CIE-LABlab(55.98, 17.95, -53.75)
CIE-LCHlch(55.98, 56.67, 288.46°)
OKLaboklab(62.7% -0.0037 -0.153)
OKLCHoklch(62.7% 0.153 268.6)
XYZxyz(26.8862, 23.8965, 76.5794)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6281E4 #E4C562
analogous
#62C2E4 #6281E4 #8462E4
triadic
#6281E4 #E46281 #81E462
tetradic
#6281E4 #E462C2 #E4C562 #62E484
square
#6281E4 #E462C2 #E4C562 #62E484
split-complementary
#6281E4 #E48462 #C2E462
monochromatic
#1E40AE #2E57DB #6281E4 #96ABED #CAD5F6

Accessibility & contrast

On white

3.63
#6281E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#6281E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6281E4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6281E4#FFFFFF#000000##000000
##6281E41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#558CE8
Deuteranopia (green-blind)
#4381E2
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6281e4;
/* rgb */ color: rgb(98, 129, 228);
/* oklch */ color: oklch(62.7% 0.153 268.6);
Tailwind
colors: {
  custom: {
    50: '#98a5ed',
    500: '#6281e4',
    950: '#000000',
  },
}
SCSS
$custom: #6281e4;
$custom-light: #98a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6281e4",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 225.692,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62697,
    "c": 0.15307,
    "h": 268.6
  },
  "luminance": 0.23899
}

Semantic roles & 50–950 ramp

primary
#6281E4
secondary
#E8DDBA
accent
#A513D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6281E4

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

Preview Lab → · Contrast checker → · Palette generator →

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