#627DC4#627DC4

#627DC4 is a mid, moderate blue. Relative luminance 0.212; OKLCH L 60.0% C 0.113 H 267.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#627DC4
RGBrgb(98, 125, 196)
HSLhsl(223, 45%, 58%)
HSVhsv(223, 50%, 77%)
CMYKcmyk(50%, 36.2%, 0%, 23.1%)
CIE-LABlab(53.22, 10.17, -40.07)
CIE-LCHlch(53.22, 41.34, 284.24°)
OKLaboklab(60.02% -0.0055 -0.113)
OKLCHoklch(60.02% 0.113 267.2)
XYZxyz(22.3312, 21.2480, 55.1384)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627DC4 #C4A962
analogous
#62AEC4 #627DC4 #7862C4
triadic
#627DC4 #C4627D #7DC462
tetradic
#627DC4 #C462AE #C4A962 #62C478
square
#627DC4 #C462AE #C4A962 #62C478
split-complementary
#627DC4 #C47862 #AEC462
monochromatic
#2F447D #405DA9 #627DC4 #8EA2D5 #BBC7E5

Accessibility & contrast

On white

4.00
#627DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#627DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627DC4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627DC4#FFFFFF#000000##000000
##627DC41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C7
Deuteranopia (green-blind)
#577BC2
Tritanopia (blue-blind)
#388C97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627dc4;
/* rgb */ color: rgb(98, 125, 196);
/* oklch */ color: oklch(60.0% 0.113 267.2);
Tailwind
colors: {
  custom: {
    50: '#94a2d6',
    500: '#627dc4',
    950: '#000000',
  },
}
SCSS
$custom: #627dc4;
$custom-light: #94a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#627dc4",
  "rgb": {
    "r": 98,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 223.469,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.11318,
    "h": 267.2
  },
  "luminance": 0.21249
}

Semantic roles & 50–950 ramp

primary
#627DC4
secondary
#D5CAAD
accent
#B153D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0F14
muted
#7E7E83

Preview Lab

Preview with #627DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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