#628BCB#628BCB

#628BCB is a light, moderate blue. Relative luminance 0.254; OKLCH L 63.4% C 0.107 H 259.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#628BCB
RGBrgb(98, 139, 203)
HSLhsl(217, 50%, 59%)
HSVhsv(217, 52%, 80%)
CMYKcmyk(51.7%, 31.5%, 0%, 20.4%)
CIE-LABlab(57.44, 4.02, -37.41)
CIE-LCHlch(57.44, 37.63, 276.13°)
OKLaboklab(63.41% -0.0204 -0.1052)
OKLCHoklch(63.41% 0.107 259)
XYZxyz(25.0455, 25.3719, 60.0658)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BCB #CBA262
analogous
#62C0CB #628BCB #6E62CB
triadic
#628BCB #CB628B #8BCB62
tetradic
#628BCB #CB62C0 #CBA262 #62CB6E
square
#628BCB #CB62C0 #CBA262 #62CB6E
split-complementary
#628BCB #CB6E62 #C0CB62
monochromatic
#2C4F86 #3C6BB4 #628BCB #90ADDA #BECFE9

Accessibility & contrast

On white

3.46
#628BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#628BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BCB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BCB#FFFFFF#000000##000000
##628BCB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCE
Deuteranopia (green-blind)
#6585CA
Tritanopia (blue-blind)
#2D99A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #628bcb;
/* rgb */ color: rgb(98, 139, 203);
/* oklch */ color: oklch(63.4% 0.107 259.0);
Tailwind
colors: {
  custom: {
    50: '#95acdb',
    500: '#628bcb',
    950: '#000000',
  },
}
SCSS
$custom: #628bcb;
$custom-light: #95acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#628bcb",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 203
  },
  "hsl": {
    "h": 216.571,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63406,
    "c": 0.1072,
    "h": 259
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#628BCB
secondary
#D9C9B0
accent
#A34EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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