#628DF2#628DF2

#628DF2 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.0% C 0.158 H 265.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#628DF2
RGBrgb(98, 141, 242)
HSLhsl(222, 85%, 67%)
HSVhsv(222, 60%, 95%)
CMYKcmyk(59.5%, 41.7%, 0%, 5.1%)
CIE-LABlab(59.94, 15.31, -55.22)
CIE-LCHlch(59.94, 57.30, 285.49°)
OKLaboklab(65.98% -0.0137 -0.1572)
OKLCHoklch(65.98% 0.158 265)
XYZxyz(30.5834, 28.0546, 87.7906)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DF2 #F2C762
analogous
#62D5F2 #628DF2 #7F62F2
triadic
#628DF2 #F2628D #8DF262
tetradic
#628DF2 #F262D5 #F2C762 #62F27F
square
#628DF2 #F262D5 #F2C762 #62F27F
split-complementary
#628DF2 #F27F62 #D5F262
monochromatic
#1148C9 #2964ED #628DF2 #9BB6F7 #D3DFFB

Accessibility & contrast

On white

3.18
#628DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#628DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DF2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DF2#FFFFFF#000000##000000
##628DF21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F6
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628df2;
/* rgb */ color: rgb(98, 141, 242);
/* oklch */ color: oklch(66.0% 0.158 265.0);
Tailwind
colors: {
  custom: {
    50: '#9aadf7',
    500: '#628df2',
    950: '#000000',
  },
}
SCSS
$custom: #628df2;
$custom-light: #9aadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#628df2",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 222.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65984,
    "c": 0.15781,
    "h": 265
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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