#6284E4#6284E4

#6284E4 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.3% C 0.149 H 267.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6284E4
RGBrgb(98, 132, 228)
HSLhsl(224, 71%, 64%)
HSVhsv(224, 57%, 89%)
CMYKcmyk(57%, 42.1%, 0%, 10.6%)
CIE-LABlab(56.78, 16.14, -52.48)
CIE-LCHlch(56.78, 54.91, 287.09°)
OKLaboklab(63.31% -0.0068 -0.1493)
OKLCHoklch(63.31% 0.149 267.4)
XYZxyz(27.2871, 24.6985, 76.7131)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6284E4 #E4C262
analogous
#62C5E4 #6284E4 #8162E4
triadic
#6284E4 #E46284 #84E462
tetradic
#6284E4 #E462C5 #E4C262 #62E481
square
#6284E4 #E462C5 #E4C262 #62E481
split-complementary
#6284E4 #E48162 #C5E462
monochromatic
#1E43AE #2E5BDB #6284E4 #96ADED #CAD6F6

Accessibility & contrast

On white

3.54
#6284E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#6284E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6284E4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6284E4#FFFFFF#000000##000000
##6284E41.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE8
Deuteranopia (green-blind)
#4983E2
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6284e4;
/* rgb */ color: rgb(98, 132, 228);
/* oklch */ color: oklch(63.3% 0.149 267.4);
Tailwind
colors: {
  custom: {
    50: '#98a7ed',
    500: '#6284e4',
    950: '#000000',
  },
}
SCSS
$custom: #6284e4;
$custom-light: #98a7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6284e4",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 228
  },
  "hsl": {
    "h": 224.308,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63308,
    "c": 0.14943,
    "h": 267.4
  },
  "luminance": 0.24701
}

Semantic roles & 50–950 ramp

primary
#6284E4
secondary
#E8DCBA
accent
#A013D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F16
muted
#7E7F84

Preview Lab

Preview with #6284E4

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

Preview Lab → · Contrast checker → · Palette generator →

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