#627BBB#627BBB

#627BBB is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.1% C 0.103 H 267.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#627BBB
RGBrgb(98, 123, 187)
HSLhsl(223, 40%, 56%)
HSVhsv(223, 48%, 73%)
CMYKcmyk(47.6%, 34.2%, 0%, 26.7%)
CIE-LABlab(52.23, 8.59, -36.48)
CIE-LCHlch(52.23, 37.48, 283.26°)
OKLaboklab(59.11% -0.0053 -0.1026)
OKLCHoklch(59.11% 0.103 267)
XYZxyz(21.0867, 20.3491, 49.8207)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BBB #BBA262
analogous
#62A7BB #627BBB #7562BB
triadic
#627BBB #BB627B #7BBB62
tetradic
#627BBB #BB62A7 #BBA262 #62BB75
square
#627BBB #BB62A7 #BBA262 #62BB75
split-complementary
#627BBB #BB7562 #A7BB62
monochromatic
#314371 #445D9C #627BBB #8D9FCD #B7C3E0

Accessibility & contrast

On white

4.14
#627BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#627BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BBB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BBB#FFFFFF#000000##000000
##627BBB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#3F8892
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #627bbb;
/* rgb */ color: rgb(98, 123, 187);
/* oklch */ color: oklch(59.1% 0.103 267.0);
Tailwind
colors: {
  custom: {
    50: '#93a0cf',
    500: '#627bbb',
    950: '#000000',
  },
}
SCSS
$custom: #627bbb;
$custom-light: #93a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#627bbb",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 223.146,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.10274,
    "h": 267
  },
  "luminance": 0.2035
}

Semantic roles & 50–950 ramp

primary
#627BBB
secondary
#CFC4AA
accent
#AE58CF
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #627BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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