#628AC3#628AC3

#628AC3 is a light, moderate blue. Relative luminance 0.247; OKLCH L 62.8% C 0.097 H 257.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#628AC3
RGBrgb(98, 138, 195)
HSLhsl(215, 45%, 57%)
HSVhsv(215, 50%, 76%)
CMYKcmyk(49.7%, 29.2%, 0%, 23.5%)
CIE-LABlab(56.79, 2.14, -33.90)
CIE-LCHlch(56.79, 33.96, 273.62°)
OKLaboklab(62.79% -0.0215 -0.0951)
OKLCHoklch(62.79% 0.097 257.3)
XYZxyz(23.9725, 24.7121, 55.1259)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628AC3 #C39B62
analogous
#62BAC3 #628AC3 #6B62C3
triadic
#628AC3 #C3628A #8AC362
tetradic
#628AC3 #C362BA #C39B62 #62C36B
square
#628AC3 #C362BA #C39B62 #62C36B
split-complementary
#628AC3 #C36B62 #BAC362
monochromatic
#2F4F7B #406BA8 #628AC3 #8EABD4 #BBCCE5

Accessibility & contrast

On white

3.53
#628AC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#628AC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628AC3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628AC3#FFFFFF#000000##000000
##628AC31.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#6884C2
Tritanopia (blue-blind)
#36979E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #628ac3;
/* rgb */ color: rgb(98, 138, 195);
/* oklch */ color: oklch(62.8% 0.097 257.3);
Tailwind
colors: {
  custom: {
    50: '#94abd5',
    500: '#628ac3',
    950: '#000000',
  },
}
SCSS
$custom: #628ac3;
$custom-light: #94abd5;
$custom-dark: #000000;
JSON
{
  "hex": "#628ac3",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 195
  },
  "hsl": {
    "h": 215.258,
    "s": 44.7,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.09746,
    "h": 257.3
  },
  "luminance": 0.24714
}

Semantic roles & 50–950 ramp

primary
#628AC3
secondary
#D4C4AD
accent
#9F53D4
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1014
muted
#7E7F83

Preview Lab

Preview with #628AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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