#6284F2#6284F2

#6284F2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.2% C 0.169 H 268.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6284F2
RGBrgb(98, 132, 242)
HSLhsl(226, 85%, 67%)
HSVhsv(226, 60%, 95%)
CMYKcmyk(59.5%, 45.5%, 0%, 5.1%)
CIE-LABlab(57.57, 20.70, -59.01)
CIE-LCHlch(57.57, 62.54, 289.33°)
OKLaboklab(64.17% -0.0046 -0.1684)
OKLCHoklch(64.17% 0.169 268.4)
XYZxyz(29.3099, 25.5076, 87.3661)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6284F2 #F2D062
analogous
#62CCF2 #6284F2 #8862F2
triadic
#6284F2 #F26284 #84F262
tetradic
#6284F2 #F262CC #F2D062 #62F288
square
#6284F2 #F262CC #F2D062 #62F288
split-complementary
#6284F2 #F28862 #CCF262
monochromatic
#113CC9 #2958ED #6284F2 #9BB0F7 #D3DDFB

Accessibility & contrast

On white

3.44
#6284F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#6284F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6284F2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6284F2#FFFFFF#000000##000000
##6284F21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6284f2;
/* rgb */ color: rgb(98, 132, 242);
/* oklch */ color: oklch(64.2% 0.169 268.4);
Tailwind
colors: {
  custom: {
    50: '#9aa7f7',
    500: '#6284f2',
    950: '#000000',
  },
}
SCSS
$custom: #6284f2;
$custom-light: #9aa7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6284f2",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 225.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64165,
    "c": 0.1685,
    "h": 268.4
  },
  "luminance": 0.2551
}

Semantic roles & 50–950 ramp

primary
#6284F2
secondary
#EFE4C1
accent
#AD04E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6284F2

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

Preview Lab → · Contrast checker → · Palette generator →

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