#628BF2#628BF2

#628BF2 is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.6% C 0.160 H 265.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#628BF2
RGBrgb(98, 139, 242)
HSLhsl(223, 85%, 67%)
HSVhsv(223, 60%, 95%)
CMYKcmyk(59.5%, 42.6%, 0%, 5.1%)
CIE-LABlab(59.41, 16.50, -56.07)
CIE-LCHlch(59.41, 58.45, 286.40°)
OKLaboklab(65.58% -0.0117 -0.1597)
OKLCHoklch(65.58% 0.16 265.8)
XYZxyz(30.2912, 27.4701, 87.6932)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BF2 #F2C962
analogous
#62D3F2 #628BF2 #8162F2
triadic
#628BF2 #F2628B #8BF262
tetradic
#628BF2 #F262D3 #F2C962 #62F281
square
#628BF2 #F262D3 #F2C962 #62F281
split-complementary
#628BF2 #F28162 #D3F262
monochromatic
#1145C9 #2961ED #628BF2 #9BB5F7 #D3DFFB

Accessibility & contrast

On white

3.23
#628BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#628BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BF2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BF2#FFFFFF#000000##000000
##628BF21.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628bf2;
/* rgb */ color: rgb(98, 139, 242);
/* oklch */ color: oklch(65.6% 0.160 265.8);
Tailwind
colors: {
  custom: {
    50: '#9aacf7',
    500: '#628bf2',
    950: '#000000',
  },
}
SCSS
$custom: #628bf2;
$custom-light: #9aacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#628bf2",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 222.917,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65575,
    "c": 0.16015,
    "h": 265.8
  },
  "luminance": 0.27473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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