#628DCB#628DCB

#628DCB is a light, moderate blue. Relative luminance 0.260; OKLCH L 63.8% C 0.105 H 257.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#628DCB
RGBrgb(98, 141, 203)
HSLhsl(215, 50%, 59%)
HSVhsv(215, 52%, 80%)
CMYKcmyk(51.7%, 30.5%, 0%, 20.4%)
CIE-LABlab(58.00, 2.85, -36.54)
CIE-LCHlch(58.00, 36.65, 274.46°)
OKLaboklab(63.84% -0.0227 -0.1027)
OKLCHoklch(63.84% 0.105 257.5)
XYZxyz(25.3377, 25.9563, 60.1632)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628DCB #CBA062
analogous
#62C1CB #628DCB #6C62CB
triadic
#628DCB #CB628D #8DCB62
tetradic
#628DCB #CB62C1 #CBA062 #62CB6C
square
#628DCB #CB62C1 #CBA062 #62CB6C
split-complementary
#628DCB #CB6C62 #C1CB62
monochromatic
#2C5186 #3C6DB4 #628DCB #90AEDA #BED0E9

Accessibility & contrast

On white

3.39
#628DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#628DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628DCB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628DCB#FFFFFF#000000##000000
##628DCB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#6887CA
Tritanopia (blue-blind)
#2D9BA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628dcb;
/* rgb */ color: rgb(98, 141, 203);
/* oklch */ color: oklch(63.8% 0.105 257.5);
Tailwind
colors: {
  custom: {
    50: '#95aedb',
    500: '#628dcb',
    950: '#000000',
  },
}
SCSS
$custom: #628dcb;
$custom-light: #95aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#628dcb",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 203
  },
  "hsl": {
    "h": 215.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63843,
    "c": 0.10518,
    "h": 257.5
  },
  "luminance": 0.25958
}

Semantic roles & 50–950 ramp

primary
#628DCB
secondary
#D9C8B0
accent
#A14EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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