#628EDA#628EDA

#628EDA is a light, vivid blue. Relative luminance 0.270; OKLCH L 64.8% C 0.124 H 260.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#628EDA
RGBrgb(98, 142, 218)
HSLhsl(218, 62%, 62%)
HSVhsv(218, 55%, 85%)
CMYKcmyk(55%, 34.9%, 0%, 14.5%)
CIE-LABlab(58.98, 6.97, -43.41)
CIE-LCHlch(58.98, 43.97, 279.11°)
OKLaboklab(64.84% -0.0199 -0.1227)
OKLCHoklch(64.84% 0.124 260.8)
XYZxyz(27.3606, 27.0025, 70.0863)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EDA #DAAE62
analogous
#62CADA #628EDA #7262DA
triadic
#628EDA #DA628E #8EDA62
tetradic
#628EDA #DA62CA #DAAE62 #62DA72
square
#628EDA #DA62CA #DAAE62 #62DA72
split-complementary
#628EDA #DA7262 #CADA62
monochromatic
#25519D #316ACE #628EDA #94B2E6 #C5D5F1

Accessibility & contrast

On white

3.28
#628EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#628EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EDA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EDA#FFFFFF#000000##000000
##628EDA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DD
Deuteranopia (green-blind)
#6089D8
Tritanopia (blue-blind)
#159FAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628eda;
/* rgb */ color: rgb(98, 142, 218);
/* oklch */ color: oklch(64.8% 0.124 260.8);
Tailwind
colors: {
  custom: {
    50: '#97aee6',
    500: '#628eda',
    950: '#000000',
  },
}
SCSS
$custom: #628eda;
$custom-light: #97aee6;
$custom-dark: #000000;
JSON
{
  "hex": "#628eda",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 218,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.12428,
    "h": 260.8
  },
  "luminance": 0.27005
}

Semantic roles & 50–950 ramp

primary
#628EDA
secondary
#E2D2B6
accent
#8A1CCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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