#628BCC#628BCC

#628BCC is a light, moderate blue. Relative luminance 0.254; OKLCH L 63.5% C 0.109 H 259.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#628BCC
RGBrgb(98, 139, 204)
HSLhsl(217, 51%, 59%)
HSVhsv(217, 52%, 80%)
CMYKcmyk(52%, 31.9%, 0%, 20%)
CIE-LABlab(57.48, 4.33, -37.91)
CIE-LCHlch(57.48, 38.15, 276.52°)
OKLaboklab(63.46% -0.0201 -0.1067)
OKLCHoklch(63.46% 0.109 259.3)
XYZxyz(25.1650, 25.4197, 60.6954)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BCC #CCA362
analogous
#62C0CC #628BCC #6E62CC
triadic
#628BCC #CC628B #8BCC62
tetradic
#628BCC #CC62C0 #CCA362 #62CC6E
square
#628BCC #CC62C0 #CCA362 #62CC6E
split-complementary
#628BCC #CC6E62 #C0CC62
monochromatic
#2C4F88 #3B6BB6 #628BCC #90ADDB #BECFEA

Accessibility & contrast

On white

3.45
#628BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#628BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BCC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BCC#FFFFFF#000000##000000
##628BCC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190CF
Deuteranopia (green-blind)
#6585CB
Tritanopia (blue-blind)
#2C99A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #628bcc;
/* rgb */ color: rgb(98, 139, 204);
/* oklch */ color: oklch(63.5% 0.109 259.3);
Tailwind
colors: {
  custom: {
    50: '#95acdc',
    500: '#628bcc',
    950: '#000000',
  },
}
SCSS
$custom: #628bcc;
$custom-light: #95acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#628bcc",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 204
  },
  "hsl": {
    "h": 216.792,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63457,
    "c": 0.10855,
    "h": 259.3
  },
  "luminance": 0.25422
}

Semantic roles & 50–950 ramp

primary
#628BCC
secondary
#DACAB0
accent
#A44DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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