#627BB2#627BB2

#627BB2 is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.6% C 0.090 H 265.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#627BB2
RGBrgb(98, 123, 178)
HSLhsl(221, 34%, 54%)
HSVhsv(221, 45%, 70%)
CMYKcmyk(44.9%, 30.9%, 0%, 30.2%)
CIE-LABlab(51.81, 5.87, -31.96)
CIE-LCHlch(51.81, 32.49, 280.41°)
OKLaboklab(58.65% -0.0077 -0.0895)
OKLCHoklch(58.65% 0.09 265.1)
XYZxyz(20.1533, 19.9758, 44.9046)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BB2 #B29962
analogous
#62A3B2 #627BB2 #7162B2
triadic
#627BB2 #B2627B #7BB262
tetradic
#627BB2 #B262A3 #B29962 #62B271
square
#627BB2 #B262A3 #B29962 #62B271
split-complementary
#627BB2 #B27162 #A3B262
monochromatic
#334367 #475E90 #627BB2 #8B9EC6 #B4C0DA

Accessibility & contrast

On white

4.20
#627BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#627BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BB2#FFFFFF#000000##000000
##627BB21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#677FB4
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#44878F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #627bb2;
/* rgb */ color: rgb(98, 123, 178);
/* oklch */ color: oklch(58.6% 0.090 265.1);
Tailwind
colors: {
  custom: {
    50: '#92a1c9',
    500: '#627bb2',
    950: '#000000',
  },
}
SCSS
$custom: #627bb2;
$custom-light: #92a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#627bb2",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 221.25,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.08983,
    "h": 265.1
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#627BB2
secondary
#C9BEA7
accent
#A85ECA
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #627BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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