#627EC9#627EC9

#627EC9 is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.5% C 0.119 H 267.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#627EC9
RGBrgb(98, 126, 201)
HSLhsl(224, 49%, 59%)
HSVhsv(224, 51%, 79%)
CMYKcmyk(51.2%, 37.3%, 0%, 21.2%)
CIE-LABlab(53.74, 11.13, -42.09)
CIE-LCHlch(53.74, 43.54, 284.81°)
OKLaboklab(60.51% -0.0056 -0.1189)
OKLCHoklch(60.51% 0.119 267.3)
XYZxyz(23.0370, 21.7339, 58.2281)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627EC9 #C9AD62
analogous
#62B1C9 #627EC9 #7962C9
triadic
#627EC9 #C9627E #7EC962
tetradic
#627EC9 #C962B1 #C9AD62 #62C979
square
#627EC9 #C962B1 #C9AD62 #62C979
split-complementary
#627EC9 #C97962 #B1C962
monochromatic
#2D4583 #3D5CB1 #627EC9 #90A3D9 #BDC9E8

Accessibility & contrast

On white

3.93
#627EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#627EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627EC9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627EC9#FFFFFF#000000##000000
##627EC91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CC
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#338E9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #627ec9;
/* rgb */ color: rgb(98, 126, 201);
/* oklch */ color: oklch(60.5% 0.119 267.3);
Tailwind
colors: {
  custom: {
    50: '#95a3da',
    500: '#627ec9',
    950: '#000000',
  },
}
SCSS
$custom: #627ec9;
$custom-light: #95a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#627ec9",
  "rgb": {
    "r": 98,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 223.689,
    "s": 48.815,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.11906,
    "h": 267.3
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#627EC9
secondary
#D8CDAF
accent
#B34FD8
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #627EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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