#628CF2#628CF2

#628CF2 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.8% C 0.159 H 265.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#628CF2
RGBrgb(98, 140, 242)
HSLhsl(223, 85%, 67%)
HSVhsv(223, 60%, 95%)
CMYKcmyk(59.5%, 42.1%, 0%, 5.1%)
CIE-LABlab(59.67, 15.90, -55.64)
CIE-LCHlch(59.67, 57.87, 285.95°)
OKLaboklab(65.78% -0.0127 -0.1585)
OKLCHoklch(65.78% 0.159 265.4)
XYZxyz(30.4366, 27.7611, 87.7417)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CF2 #F2C862
analogous
#62D4F2 #628CF2 #8062F2
triadic
#628CF2 #F2628C #8CF262
tetradic
#628CF2 #F262D4 #F2C862 #62F280
square
#628CF2 #F262D4 #F2C862 #62F280
split-complementary
#628CF2 #F28062 #D4F262
monochromatic
#1146C9 #2963ED #628CF2 #9BB5F7 #D3DFFB

Accessibility & contrast

On white

3.20
#628CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#628CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CF2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CF2#FFFFFF#000000##000000
##628CF21.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#4A8AF0
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #628cf2;
/* rgb */ color: rgb(98, 140, 242);
/* oklch */ color: oklch(65.8% 0.159 265.4);
Tailwind
colors: {
  custom: {
    50: '#9aadf7',
    500: '#628cf2',
    950: '#000000',
  },
}
SCSS
$custom: #628cf2;
$custom-light: #9aadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#628cf2",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 222.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65779,
    "c": 0.15897,
    "h": 265.4
  },
  "luminance": 0.27764
}

Semantic roles & 50–950 ramp

primary
#628CF2
secondary
#EFE2C1
accent
#A104E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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