#628EC2#628EC2

#628EC2 is a light, moderate cyan. Relative luminance 0.258; OKLCH L 63.6% C 0.092 H 253.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#628EC2
RGBrgb(98, 142, 194)
HSLhsl(213, 44%, 57%)
HSVhsv(213, 49%, 76%)
CMYKcmyk(49.5%, 26.8%, 0%, 23.9%)
CIE-LABlab(57.88, -0.49, -31.64)
CIE-LCHlch(57.88, 31.64, 269.12°)
OKLaboklab(63.62% -0.0266 -0.0885)
OKLCHoklch(63.62% 0.092 253.3)
XYZxyz(24.4443, 25.8360, 54.7272)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EC2 #C29662
analogous
#62BEC2 #628EC2 #6662C2
triadic
#628EC2 #C2628E #8EC262
tetradic
#628EC2 #C262BE #C29662 #62C266
square
#628EC2 #C262BE #C29662 #62C266
split-complementary
#628EC2 #C26662 #BEC262
monochromatic
#2F527A #416FA6 #628EC2 #8EAED3 #BACDE4

Accessibility & contrast

On white

3.40
#628EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#628EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EC2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EC2#FFFFFF#000000##000000
##628EC21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C4
Deuteranopia (green-blind)
#6E87C1
Tritanopia (blue-blind)
#359AA0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #628ec2;
/* rgb */ color: rgb(98, 142, 194);
/* oklch */ color: oklch(63.6% 0.092 253.3);
Tailwind
colors: {
  custom: {
    50: '#94aed4',
    500: '#628ec2',
    950: '#000000',
  },
}
SCSS
$custom: #628ec2;
$custom-light: #94aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#628ec2",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 212.5,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63623,
    "c": 0.09243,
    "h": 253.3
  },
  "luminance": 0.25838
}

Semantic roles & 50–950 ramp

primary
#628EC2
secondary
#D3C2AC
accent
#9954D4
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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