#628BC5#628BC5

#628BC5 is a light, moderate blue. Relative luminance 0.251; OKLCH L 63.1% C 0.099 H 257.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#628BC5
RGBrgb(98, 139, 197)
HSLhsl(215, 46%, 58%)
HSVhsv(215, 50%, 77%)
CMYKcmyk(50.3%, 29.4%, 0%, 22.7%)
CIE-LABlab(57.16, 2.17, -34.45)
CIE-LCHlch(57.16, 34.52, 273.60°)
OKLaboklab(63.1% -0.0221 -0.0967)
OKLCHoklch(63.1% 0.099 257.1)
XYZxyz(24.3442, 25.0914, 56.3728)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BC5 #C59C62
analogous
#62BCC5 #628BC5 #6A62C5
triadic
#628BC5 #C5628B #8BC562
tetradic
#628BC5 #C562BC #C59C62 #62C56A
square
#628BC5 #C562BC #C59C62 #62C56A
split-complementary
#628BC5 #C56A62 #BCC562
monochromatic
#2F4F7E #3F6CAB #628BC5 #8FACD6 #BBCDE6

Accessibility & contrast

On white

3.49
#628BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#628BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BC5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BC5#FFFFFF#000000##000000
##628BC51.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#748EC8
Deuteranopia (green-blind)
#6885C4
Tritanopia (blue-blind)
#33989F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #628bc5;
/* rgb */ color: rgb(98, 139, 197);
/* oklch */ color: oklch(63.1% 0.099 257.1);
Tailwind
colors: {
  custom: {
    50: '#94acd7',
    500: '#628bc5',
    950: '#000000',
  },
}
SCSS
$custom: #628bc5;
$custom-light: #94acd7;
$custom-dark: #000000;
JSON
{
  "hex": "#628bc5",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 197
  },
  "hsl": {
    "h": 215.152,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63104,
    "c": 0.09915,
    "h": 257.1
  },
  "luminance": 0.25093
}

Semantic roles & 50–950 ramp

primary
#628BC5
secondary
#D5C5AE
accent
#9F52D6
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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