#628AEC#628AEC

#628AEC is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.0% C 0.153 H 265.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#628AEC
RGBrgb(98, 138, 236)
HSLhsl(223, 78%, 65%)
HSVhsv(223, 58%, 93%)
CMYKcmyk(58.5%, 41.5%, 0%, 7.5%)
CIE-LABlab(58.81, 15.14, -53.69)
CIE-LCHlch(58.81, 55.79, 285.74°)
OKLaboklab(65.01% -0.0117 -0.1528)
OKLCHoklch(65.01% 0.153 265.6)
XYZxyz(29.2606, 26.8273, 82.9768)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AEC #ECC462
analogous
#62CFEC #628AEC #7F62EC
triadic
#628AEC #EC628A #8AEC62
tetradic
#628AEC #EC62CF #ECC462 #62EC7F
square
#628AEC #EC62CF #ECC462 #62EC7F
split-complementary
#628AEC #EC7F62 #CFEC62
monochromatic
#1747BD #2B61E5 #628AEC #99B3F3 #CFDBF9

Accessibility & contrast

On white

3.30
#628AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#628AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AEC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AEC#FFFFFF#000000##000000
##628AEC1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#4C88EA
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #628aec;
/* rgb */ color: rgb(98, 138, 236);
/* oklch */ color: oklch(65.0% 0.153 265.6);
Tailwind
colors: {
  custom: {
    50: '#99abf2',
    500: '#628aec',
    950: '#000000',
  },
}
SCSS
$custom: #628aec;
$custom-light: #99abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#628aec",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 222.609,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.15321,
    "h": 265.6
  },
  "luminance": 0.2683
}

Semantic roles & 50–950 ramp

primary
#628AEC
secondary
#ECDFBE
accent
#9E0BDB
background
#FAFAFE
surface
#F3F4FD
border
#CDCED5
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #628AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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