#627EC2#627EC2

#627EC2 is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.1% C 0.109 H 266.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#627EC2
RGBrgb(98, 126, 194)
HSLhsl(223, 44%, 57%)
HSVhsv(223, 49%, 76%)
CMYKcmyk(49.5%, 35.1%, 0%, 23.9%)
CIE-LABlab(53.40, 8.94, -38.65)
CIE-LCHlch(53.40, 39.67, 283.03°)
OKLaboklab(60.13% -0.0072 -0.1089)
OKLCHoklch(60.13% 0.109 266.2)
XYZxyz(22.2323, 21.4120, 53.9899)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EC2 #C2A662
analogous
#62AEC2 #627EC2 #7662C2
triadic
#627EC2 #C2627E #7EC262
tetradic
#627EC2 #C262AE #C2A662 #62C276
square
#627EC2 #C262AE #C2A662 #62C276
split-complementary
#627EC2 #C27662 #AEC262
monochromatic
#2F457A #415EA6 #627EC2 #8EA2D3 #BAC6E4

Accessibility & contrast

On white

3.98
#627EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#627EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EC2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EC2#FFFFFF#000000##000000
##627EC21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6484C5
Deuteranopia (green-blind)
#5A7CC1
Tritanopia (blue-blind)
#398C97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627ec2;
/* rgb */ color: rgb(98, 126, 194);
/* oklch */ color: oklch(60.1% 0.109 266.2);
Tailwind
colors: {
  custom: {
    50: '#94a3d5',
    500: '#627ec2',
    950: '#000000',
  },
}
SCSS
$custom: #627ec2;
$custom-light: #94a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#627ec2",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 222.5,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.10914,
    "h": 266.2
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#627EC2
secondary
#D3C8AC
accent
#AF54D4
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #627EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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