#628EC4#628EC4

#628EC4 is a light, moderate cyan. Relative luminance 0.259; OKLCH L 63.7% C 0.095 H 254.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#628EC4
RGBrgb(98, 142, 196)
HSLhsl(213, 45%, 58%)
HSVhsv(213, 50%, 77%)
CMYKcmyk(50%, 27.6%, 0%, 23.1%)
CIE-LABlab(57.97, 0.12, -32.63)
CIE-LCHlch(57.97, 32.63, 270.21°)
OKLaboklab(63.72% -0.026 -0.0914)
OKLCHoklch(63.72% 0.095 254.1)
XYZxyz(24.6704, 25.9264, 55.9181)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EC4 #C49862
analogous
#62BFC4 #628EC4 #6762C4
triadic
#628EC4 #C4628E #8EC462
tetradic
#628EC4 #C462BF #C49862 #62C467
square
#628EC4 #C462BF #C49862 #62C467
split-complementary
#628EC4 #C46762 #BFC462
monochromatic
#2F527D #406FA9 #628EC4 #8EAED5 #BBCEE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628EC4#FFFFFF#000000##000000
##628EC41.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)
#7991C6
Deuteranopia (green-blind)
#6D87C3
Tritanopia (blue-blind)
#349AA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628ec4;
/* rgb */ color: rgb(98, 142, 196);
/* oklch */ color: oklch(63.7% 0.095 254.1);
Tailwind
colors: {
  custom: {
    50: '#94aed6',
    500: '#628ec4',
    950: '#000000',
  },
}
SCSS
$custom: #628ec4;
$custom-light: #94aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#628ec4",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 213.061,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63719,
    "c": 0.09503,
    "h": 254.1
  },
  "luminance": 0.25928
}

Semantic roles & 50–950 ramp

primary
#628EC4
secondary
#D5C3AD
accent
#9B53D5
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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