#627AC3#627AC3

#627AC3 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.3% C 0.115 H 268.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#627AC3
RGBrgb(98, 122, 195)
HSLhsl(225, 45%, 57%)
HSVhsv(225, 50%, 76%)
CMYKcmyk(49.7%, 37.4%, 0%, 23.5%)
CIE-LABlab(52.35, 11.67, -40.88)
CIE-LCHlch(52.35, 42.51, 285.93°)
OKLaboklab(59.33% -0.0021 -0.1154)
OKLCHoklch(59.33% 0.115 268.9)
XYZxyz(21.8437, 20.4545, 54.4163)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627AC3 #C3AB62
analogous
#62AAC3 #627AC3 #7B62C3
triadic
#627AC3 #C3627A #7AC362
tetradic
#627AC3 #C362AA #C3AB62 #62C37B
square
#627AC3 #C362AA #C3AB62 #62C37B
split-complementary
#627AC3 #C37B62 #AAC362
monochromatic
#2F427B #405AA8 #627AC3 #8EA0D4 #BBC5E5

Accessibility & contrast

On white

4.12
#627AC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#627AC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627AC3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627AC3#FFFFFF#000000##000000
##627AC31.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C6
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#398995
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #627ac3;
/* rgb */ color: rgb(98, 122, 195);
/* oklch */ color: oklch(59.3% 0.115 268.9);
Tailwind
colors: {
  custom: {
    50: '#94a0d5',
    500: '#627ac3',
    950: '#000000',
  },
}
SCSS
$custom: #627ac3;
$custom-light: #94a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#627ac3",
  "rgb": {
    "r": 98,
    "g": 122,
    "b": 195
  },
  "hsl": {
    "h": 225.155,
    "s": 44.7,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.11543,
    "h": 268.9
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#627AC3
secondary
#D4CAAD
accent
#B453D4
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #627AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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