#628EF2#628EF2

#628EF2 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.157 H 264.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#628EF2
RGBrgb(98, 142, 242)
HSLhsl(222, 85%, 67%)
HSVhsv(222, 60%, 95%)
CMYKcmyk(59.5%, 41.3%, 0%, 5.1%)
CIE-LABlab(60.20, 14.71, -54.80)
CIE-LCHlch(60.20, 56.74, 285.03°)
OKLaboklab(66.19% -0.0147 -0.1559)
OKLCHoklch(66.19% 0.157 264.6)
XYZxyz(30.7315, 28.3509, 87.8400)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EF2 #F2C662
analogous
#62D6F2 #628EF2 #7E62F2
triadic
#628EF2 #F2628E #8EF262
tetradic
#628EF2 #F262D6 #F2C662 #62F27E
square
#628EF2 #F262D6 #F2C662 #62F27E
split-complementary
#628EF2 #F27E62 #D6F262
monochromatic
#1149C9 #2965ED #628EF2 #9BB7F7 #D3DFFB

Accessibility & contrast

On white

3.15
#628EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#628EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EF2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EF2#FFFFFF#000000##000000
##628EF21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#4E8BF0
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #628ef2;
/* rgb */ color: rgb(98, 142, 242);
/* oklch */ color: oklch(66.2% 0.157 264.6);
Tailwind
colors: {
  custom: {
    50: '#9aaef7',
    500: '#628ef2',
    950: '#000000',
  },
}
SCSS
$custom: #628ef2;
$custom-light: #9aaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#628ef2",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 221.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.15664,
    "h": 264.6
  },
  "luminance": 0.28353
}

Semantic roles & 50–950 ramp

primary
#628EF2
secondary
#EFE1C1
accent
#9E04E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628EF2

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

Preview Lab → · Contrast checker → · Palette generator →

#628EF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva