#628CDB#628CDB

#628CDB is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.5% C 0.128 H 262.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#628CDB
RGBrgb(98, 140, 219)
HSLhsl(219, 63%, 62%)
HSVhsv(219, 55%, 86%)
CMYKcmyk(55.3%, 36.1%, 0%, 14.1%)
CIE-LABlab(58.48, 8.46, -44.76)
CIE-LCHlch(58.48, 45.56, 280.71°)
OKLaboklab(64.46% -0.0174 -0.1266)
OKLCHoklch(64.46% 0.128 262.2)
XYZxyz(27.1969, 26.4652, 70.6792)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628CDB #DBB162
analogous
#62C8DB #628CDB #7562DB
triadic
#628CDB #DB628C #8CDB62
tetradic
#628CDB #DB62C8 #DBB162 #62DB75
square
#628CDB #DB62C8 #DBB162 #62DB75
split-complementary
#628CDB #DB7562 #C8DB62
monochromatic
#244F9E #3068D0 #628CDB #94B0E6 #C6D5F2

Accessibility & contrast

On white

3.34
#628CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#628CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628CDB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628CDB#FFFFFF#000000##000000
##628CDB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#5D87D9
Tritanopia (blue-blind)
#139DA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628cdb;
/* rgb */ color: rgb(98, 140, 219);
/* oklch */ color: oklch(64.5% 0.128 262.2);
Tailwind
colors: {
  custom: {
    50: '#97ade6',
    500: '#628cdb',
    950: '#000000',
  },
}
SCSS
$custom: #628cdb;
$custom-light: #97ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#628cdb",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 219.174,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.12782,
    "h": 262.2
  },
  "luminance": 0.26467
}

Semantic roles & 50–950 ramp

primary
#628CDB
secondary
#E3D3B6
accent
#8E1BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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