#627BE3#627BE3

#627BE3 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.4% C 0.159 H 270.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#627BE3
RGBrgb(98, 123, 227)
HSLhsl(228, 70%, 64%)
HSVhsv(228, 57%, 89%)
CMYKcmyk(56.8%, 45.8%, 0%, 11%)
CIE-LABlab(54.35, 21.26, -55.80)
CIE-LCHlch(54.35, 59.71, 290.85°)
OKLaboklab(61.43% 0.0025 -0.1591)
OKLCHoklch(61.43% 0.159 270.9)
XYZxyz(25.9805, 22.3067, 75.5947)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627BE3 #E3CA62
analogous
#62BBE3 #627BE3 #8962E3
triadic
#627BE3 #E3627B #7BE362
tetradic
#627BE3 #E362BB #E3CA62 #62E389
square
#627BE3 #E362BB #E3CA62 #62E389
split-complementary
#627BE3 #E38962 #BBE362
monochromatic
#1F3AAC #2E4FDA #627BE3 #96A7EC #CAD2F6

Accessibility & contrast

On white

3.84
#627BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#627BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627BE3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627BE3#FFFFFF#000000##000000
##627BE31.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E7
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#0392A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #627be3;
/* rgb */ color: rgb(98, 123, 227);
/* oklch */ color: oklch(61.4% 0.159 270.9);
Tailwind
colors: {
  custom: {
    50: '#98a0ec',
    500: '#627be3',
    950: '#000000',
  },
}
SCSS
$custom: #627be3;
$custom-light: #98a0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#627be3",
  "rgb": {
    "r": 98,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 228.372,
    "s": 69.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.15913,
    "h": 270.9
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#627BE3
secondary
#E7DEBA
accent
#AD14D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #627BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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