#627CCB#627CCB

#627CCB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.124 H 268.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#627CCB
RGBrgb(98, 124, 203)
HSLhsl(225, 50%, 59%)
HSVhsv(225, 52%, 80%)
CMYKcmyk(51.7%, 38.9%, 0%, 20.4%)
CIE-LABlab(53.30, 12.96, -43.93)
CIE-LCHlch(53.30, 45.80, 286.44°)
OKLaboklab(60.2% -0.0028 -0.1243)
OKLCHoklch(60.2% 0.124 268.7)
XYZxyz(23.0206, 21.3222, 59.3909)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627CCB #CBB162
analogous
#62B1CB #627CCB #7D62CB
triadic
#627CCB #CB627C #7CCB62
tetradic
#627CCB #CB62B1 #CBB162 #62CB7D
square
#627CCB #CB62B1 #CBB162 #62CB7D
split-complementary
#627CCB #CB7D62 #B1CB62
monochromatic
#2C4386 #3C59B4 #627CCB #90A2DA #BEC9E9

Accessibility & contrast

On white

3.99
#627CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#627CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627CCB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627CCB#FFFFFF#000000##000000
##627CCB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CE
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#318D9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #627ccb;
/* rgb */ color: rgb(98, 124, 203);
/* oklch */ color: oklch(60.2% 0.124 268.7);
Tailwind
colors: {
  custom: {
    50: '#95a1db',
    500: '#627ccb',
    950: '#000000',
  },
}
SCSS
$custom: #627ccb;
$custom-light: #95a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#627ccb",
  "rgb": {
    "r": 98,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 225.143,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60198,
    "c": 0.12434,
    "h": 268.7
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#627CCB
secondary
#D9CFB0
accent
#B74EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #627CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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