#628BDF#628BDF

#628BDF is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.5% C 0.134 H 263.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#628BDF
RGBrgb(98, 139, 223)
HSLhsl(220, 66%, 63%)
HSVhsv(220, 56%, 87%)
CMYKcmyk(56.1%, 37.7%, 0%, 12.5%)
CIE-LABlab(58.40, 10.34, -47.11)
CIE-LCHlch(58.40, 48.23, 282.37°)
OKLaboklab(64.47% -0.0154 -0.1335)
OKLCHoklch(64.47% 0.134 263.4)
XYZxyz(27.5844, 26.3874, 73.4374)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628BDF #DFB662
analogous
#62CADF #628BDF #7762DF
triadic
#628BDF #DF628B #8BDF62
tetradic
#628BDF #DF62CA #DFB662 #62DF77
square
#628BDF #DF62CA #DFB662 #62DF77
split-complementary
#628BDF #DF7762 #CADF62
monochromatic
#224DA5 #2F65D5 #628BDF #95B1E9 #C8D6F4

Accessibility & contrast

On white

3.35
#628BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#628BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628BDF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628BDF#FFFFFF#000000##000000
##628BDF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E2
Deuteranopia (green-blind)
#5987DD
Tritanopia (blue-blind)
#059EAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #628bdf;
/* rgb */ color: rgb(98, 139, 223);
/* oklch */ color: oklch(64.5% 0.134 263.4);
Tailwind
colors: {
  custom: {
    50: '#97ace9',
    500: '#628bdf',
    950: '#000000',
  },
}
SCSS
$custom: #628bdf;
$custom-light: #97ace9;
$custom-dark: #000000;
JSON
{
  "hex": "#628bdf",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 223
  },
  "hsl": {
    "h": 220.32,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64474,
    "c": 0.13438,
    "h": 263.4
  },
  "luminance": 0.2639
}

Semantic roles & 50–950 ramp

primary
#628BDF
secondary
#E5D6B8
accent
#9217CE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #628BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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