#627AC8#627AC8

#627AC8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.123 H 269.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#627AC8
RGBrgb(98, 122, 200)
HSLhsl(226, 48%, 58%)
HSVhsv(226, 51%, 78%)
CMYKcmyk(51%, 39%, 0%, 21.6%)
CIE-LABlab(52.60, 13.23, -43.33)
CIE-LCHlch(52.60, 45.30, 286.98°)
OKLaboklab(59.61% -0.0011 -0.1226)
OKLCHoklch(59.61% 0.123 269.5)
XYZxyz(22.4185, 20.6844, 57.4435)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AC8 #C8B062
analogous
#62ADC8 #627AC8 #7D62C8
triadic
#627AC8 #C8627A #7AC862
tetradic
#627AC8 #C862AD #C8B062 #62C87D
square
#627AC8 #C862AD #C8B062 #62C87D
split-complementary
#627AC8 #C87D62 #ADC862
monochromatic
#2E4182 #3D58AF #627AC8 #8FA0D8 #BDC7E8

Accessibility & contrast

On white

4.09
#627AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#627AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AC8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AC8#FFFFFF#000000##000000
##627AC81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CB
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#358B97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627ac8;
/* rgb */ color: rgb(98, 122, 200);
/* oklch */ color: oklch(59.6% 0.123 269.5);
Tailwind
colors: {
  custom: {
    50: '#95a0d9',
    500: '#627ac8',
    950: '#000000',
  },
}
SCSS
$custom: #627ac8;
$custom-light: #95a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#627ac8",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 225.882,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.12256,
    "h": 269.5
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#627AC8
secondary
#D7CEAF
accent
#B850D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #627AC8

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

Preview Lab → · Contrast checker → · Palette generator →

#627AC8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva