#627BC4#627BC4

#627BC4 is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.6% C 0.116 H 268.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#627BC4
RGBrgb(98, 123, 196)
HSLhsl(225, 45%, 58%)
HSVhsv(225, 50%, 77%)
CMYKcmyk(50%, 37.2%, 0%, 23.1%)
CIE-LABlab(52.67, 11.37, -40.94)
CIE-LCHlch(52.67, 42.49, 285.53°)
OKLaboklab(59.6% -0.0031 -0.1156)
OKLCHoklch(59.6% 0.116 268.4)
XYZxyz(22.0805, 20.7467, 55.0548)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BC4 #C4AB62
analogous
#62ACC4 #627BC4 #7A62C4
triadic
#627BC4 #C4627B #7BC462
tetradic
#627BC4 #C462AC #C4AB62 #62C47A
square
#627BC4 #C462AC #C4AB62 #62C47A
split-complementary
#627BC4 #C47A62 #ACC462
monochromatic
#2F437D #405BA9 #627BC4 #8EA0D5 #BBC6E5

Accessibility & contrast

On white

4.08
#627BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#627BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BC4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BC4#FFFFFF#000000##000000
##627BC41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C7
Deuteranopia (green-blind)
#547AC2
Tritanopia (blue-blind)
#388B96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #627bc4;
/* rgb */ color: rgb(98, 123, 196);
/* oklch */ color: oklch(59.6% 0.116 268.4);
Tailwind
colors: {
  custom: {
    50: '#94a0d6',
    500: '#627bc4',
    950: '#000000',
  },
}
SCSS
$custom: #627bc4;
$custom-light: #94a0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#627bc4",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 224.694,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.11562,
    "h": 268.4
  },
  "luminance": 0.20748
}

Semantic roles & 50–950 ramp

primary
#627BC4
secondary
#D5CBAD
accent
#B453D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #627BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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