#628EDB#628EDB

#628EDB is a light, vivid blue. Relative luminance 0.271; OKLCH L 64.9% C 0.126 H 261.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#628EDB
RGBrgb(98, 142, 219)
HSLhsl(218, 63%, 62%)
HSVhsv(218, 55%, 86%)
CMYKcmyk(55.3%, 35.2%, 0%, 14.1%)
CIE-LABlab(59.03, 7.28, -43.90)
CIE-LCHlch(59.03, 44.50, 279.42°)
OKLaboklab(64.89% -0.0197 -0.1241)
OKLCHoklch(64.89% 0.126 261)
XYZxyz(27.4918, 27.0550, 70.7775)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EDB #DBAF62
analogous
#62CADB #628EDB #7362DB
triadic
#628EDB #DB628E #8EDB62
tetradic
#628EDB #DB62CA #DBAF62 #62DB73
square
#628EDB #DB62CA #DBAF62 #62DB73
split-complementary
#628EDB #DB7362 #CADB62
monochromatic
#24519E #306AD0 #628EDB #94B2E6 #C6D6F2

Accessibility & contrast

On white

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

On black

6.41
#628EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EDB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EDB#FFFFFF#000000##000000
##628EDB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#129FAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #628edb;
/* rgb */ color: rgb(98, 142, 219);
/* oklch */ color: oklch(64.9% 0.126 261.0);
Tailwind
colors: {
  custom: {
    50: '#97aee6',
    500: '#628edb',
    950: '#000000',
  },
}
SCSS
$custom: #628edb;
$custom-light: #97aee6;
$custom-dark: #000000;
JSON
{
  "hex": "#628edb",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 219
  },
  "hsl": {
    "h": 218.182,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.12562,
    "h": 261
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

primary
#628EDB
secondary
#E3D2B6
accent
#8B1BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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