#628FDF#628FDF

#628FDF is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.3% C 0.130 H 261.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#628FDF
RGBrgb(98, 143, 223)
HSLhsl(218, 66%, 63%)
HSVhsv(218, 56%, 87%)
CMYKcmyk(56.1%, 35.9%, 0%, 12.5%)
CIE-LABlab(59.50, 7.97, -45.39)
CIE-LCHlch(59.50, 46.08, 279.96°)
OKLaboklab(65.32% -0.0198 -0.1284)
OKLCHoklch(65.32% 0.13 261.2)
XYZxyz(28.1742, 27.5670, 73.6340)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628FDF #DFB262
analogous
#62CEDF #628FDF #7362DF
triadic
#628FDF #DF628F #8FDF62
tetradic
#628FDF #DF62CE #DFB262 #62DF73
square
#628FDF #DF62CE #DFB262 #62DF73
split-complementary
#628FDF #DF7362 #CEDF62
monochromatic
#2251A5 #2F6BD5 #628FDF #95B3E9 #C8D8F4

Accessibility & contrast

On white

3.22
#628FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#628FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628FDF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628FDF#FFFFFF#000000##000000
##628FDF1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E2
Deuteranopia (green-blind)
#5E8ADD
Tritanopia (blue-blind)
#01A1AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #628fdf;
/* rgb */ color: rgb(98, 143, 223);
/* oklch */ color: oklch(65.3% 0.130 261.2);
Tailwind
colors: {
  custom: {
    50: '#97afe9',
    500: '#628fdf',
    950: '#000000',
  },
}
SCSS
$custom: #628fdf;
$custom-light: #97afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#628fdf",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 218.4,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.12993,
    "h": 261.2
  },
  "luminance": 0.27569
}

Semantic roles & 50–950 ramp

primary
#628FDF
secondary
#E5D5B8
accent
#8C17CE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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