#628FCB#628FCB

#628FCB is a light, moderate cyan. Relative luminance 0.266; OKLCH L 64.3% C 0.103 H 255.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#628FCB
RGBrgb(98, 143, 203)
HSLhsl(214, 50%, 59%)
HSVhsv(214, 52%, 80%)
CMYKcmyk(51.7%, 29.6%, 0%, 20.4%)
CIE-LABlab(58.56, 1.68, -35.66)
CIE-LCHlch(58.56, 35.70, 272.70°)
OKLaboklab(64.28% -0.0251 -0.1001)
OKLCHoklch(64.28% 0.103 255.9)
XYZxyz(25.6353, 26.5515, 60.2624)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FCB #CB9E62
analogous
#62C3CB #628FCB #6A62CB
triadic
#628FCB #CB628F #8FCB62
tetradic
#628FCB #CB62C3 #CB9E62 #62CB6A
square
#628FCB #CB62C3 #CB9E62 #62CB6A
split-complementary
#628FCB #CB6A62 #C3CB62
monochromatic
#2C5386 #3C6FB4 #628FCB #90B0DA #BED1E9

Accessibility & contrast

On white

3.33
#628FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#628FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FCB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FCB#FFFFFF#000000##000000
##628FCB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CE
Deuteranopia (green-blind)
#6A88CA
Tritanopia (blue-blind)
#2C9CA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628fcb;
/* rgb */ color: rgb(98, 143, 203);
/* oklch */ color: oklch(64.3% 0.103 255.9);
Tailwind
colors: {
  custom: {
    50: '#95afdb',
    500: '#628fcb',
    950: '#000000',
  },
}
SCSS
$custom: #628fcb;
$custom-light: #95afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#628fcb",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 203
  },
  "hsl": {
    "h": 214.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.10324,
    "h": 255.9
  },
  "luminance": 0.26553
}

Semantic roles & 50–950 ramp

primary
#628FCB
secondary
#D9C7B0
accent
#9E4EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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