#628FDA#628FDA

#628FDA is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.1% C 0.123 H 260.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#628FDA
RGBrgb(98, 143, 218)
HSLhsl(218, 62%, 62%)
HSVhsv(218, 55%, 85%)
CMYKcmyk(55%, 34.4%, 0%, 14.5%)
CIE-LABlab(59.25, 6.38, -42.98)
CIE-LCHlch(59.25, 43.45, 278.44°)
OKLaboklab(65.05% -0.021 -0.1214)
OKLCHoklch(65.05% 0.123 260.2)
XYZxyz(27.5100, 27.3014, 70.1361)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FDA #DAAD62
analogous
#62CBDA #628FDA #7162DA
triadic
#628FDA #DA628F #8FDA62
tetradic
#628FDA #DA62CB #DAAD62 #62DA71
square
#628FDA #DA62CB #DAAD62 #62DA71
split-complementary
#628FDA #DA7162 #CBDA62
monochromatic
#25529D #316CCE #628FDA #94B2E6 #C5D6F1

Accessibility & contrast

On white

3.25
#628FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#628FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FDA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FDA#FFFFFF#000000##000000
##628FDA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DD
Deuteranopia (green-blind)
#628AD8
Tritanopia (blue-blind)
#14A0AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628fda;
/* rgb */ color: rgb(98, 143, 218);
/* oklch */ color: oklch(65.1% 0.123 260.2);
Tailwind
colors: {
  custom: {
    50: '#97afe6',
    500: '#628fda',
    950: '#000000',
  },
}
SCSS
$custom: #628fda;
$custom-light: #97afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#628fda",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 217.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65053,
    "c": 0.1232,
    "h": 260.2
  },
  "luminance": 0.27304
}

Semantic roles & 50–950 ramp

primary
#628FDA
secondary
#E2D1B6
accent
#881CCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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