#628EBA#628EBA

#628EBA is a light, moderate cyan. Relative luminance 0.255; OKLCH L 63.2% C 0.082 H 249.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#628EBA
RGBrgb(98, 142, 186)
HSLhsl(210, 39%, 56%)
HSVhsv(210, 47%, 73%)
CMYKcmyk(47.3%, 23.7%, 0%, 27.1%)
CIE-LABlab(57.55, -2.88, -27.62)
CIE-LCHlch(57.55, 27.77, 264.05°)
OKLaboklab(63.25% -0.0292 -0.077)
OKLCHoklch(63.25% 0.082 249.2)
XYZxyz(23.5699, 25.4862, 50.1222)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628EBA #BA8E62
analogous
#62BABA #628EBA #6262BA
triadic
#628EBA #BA628E #8EBA62
tetradic
#628EBA #BA62BA #BA8E62 #62BA62
square
#628EBA #BA62BA #BA8E62 #62BA62
split-complementary
#628EBA #BA6262 #BABA62
monochromatic
#315170 #446F9B #628EBA #8DADCD #B7CBDF

Accessibility & contrast

On white

3.44
#628EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#628EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628EBA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628EBA#FFFFFF#000000##000000
##628EBA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8FBC
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#3C989D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #628eba;
/* rgb */ color: rgb(98, 142, 186);
/* oklch */ color: oklch(63.2% 0.082 249.2);
Tailwind
colors: {
  custom: {
    50: '#93aecf',
    500: '#628eba',
    950: '#000000',
  },
}
SCSS
$custom: #628eba;
$custom-light: #93aecf;
$custom-dark: #000000;
JSON
{
  "hex": "#628eba",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 210,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63249,
    "c": 0.08234,
    "h": 249.2
  },
  "luminance": 0.25488
}

Semantic roles & 50–950 ramp

primary
#628EBA
secondary
#CEBCAA
accent
#9459CF
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D1013
muted
#7E7F82

Preview Lab

Preview with #628EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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