#628ECF#628ECF

#628ECF is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.3% C 0.110 H 258.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#628ECF
RGBrgb(98, 142, 207)
HSLhsl(216, 53%, 60%)
HSVhsv(216, 53%, 81%)
CMYKcmyk(52.7%, 31.4%, 0%, 18.8%)
CIE-LABlab(58.46, 3.51, -38.07)
CIE-LCHlch(58.46, 38.23, 275.26°)
OKLaboklab(64.26% -0.0228 -0.1071)
OKLCHoklch(64.26% 0.11 258)
XYZxyz(25.9686, 26.4457, 62.7555)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628ECF #CFA362
analogous
#62C5CF #628ECF #6D62CF
triadic
#628ECF #CF628E #8ECF62
tetradic
#628ECF #CF62C5 #CFA362 #62CF6D
square
#628ECF #CF62C5 #CFA362 #62CF6D
split-complementary
#628ECF #CF6D62 #C5CF62
monochromatic
#2B528C #396DBB #628ECF #91B0DD #C0D1EC

Accessibility & contrast

On white

3.34
#628ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#628ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628ECF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628ECF#FFFFFF#000000##000000
##628ECF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#6788CE
Tritanopia (blue-blind)
#289CA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628ecf;
/* rgb */ color: rgb(98, 142, 207);
/* oklch */ color: oklch(64.3% 0.110 258.0);
Tailwind
colors: {
  custom: {
    50: '#95aede',
    500: '#628ecf',
    950: '#000000',
  },
}
SCSS
$custom: #628ecf;
$custom-light: #95aede;
$custom-dark: #000000;
JSON
{
  "hex": "#628ecf",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 215.78,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64264,
    "c": 0.10951,
    "h": 258
  },
  "luminance": 0.26448
}

Semantic roles & 50–950 ramp

primary
#628ECF
secondary
#DBCAB1
accent
#A24BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #628ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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