#627FDF#627FDF

#627FDF is a mid, vivid blue. Relative luminance 0.231; OKLCH L 62.0% C 0.149 H 269.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#627FDF
RGBrgb(98, 127, 223)
HSLhsl(226, 66%, 63%)
HSVhsv(226, 56%, 87%)
CMYKcmyk(56.1%, 43%, 0%, 12.5%)
CIE-LABlab(55.18, 17.54, -52.24)
CIE-LCHlch(55.18, 55.10, 288.56°)
OKLaboklab(61.99% -0.0023 -0.1486)
OKLCHoklch(61.99% 0.149 269.1)
XYZxyz(25.9412, 23.1012, 72.8897)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#627FDF #DFC262
analogous
#62BDDF #627FDF #8362DF
triadic
#627FDF #DF627F #7FDF62
tetradic
#627FDF #DF62BD #DFC262 #62DF83
square
#627FDF #DF62BD #DFC262 #62DF83
split-complementary
#627FDF #DF8362 #BDDF62
monochromatic
#2240A5 #2F56D5 #627FDF #95A8E9 #C8D2F4

Accessibility & contrast

On white

3.74
#627FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#627FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #627FDF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##627FDF#FFFFFF#000000##000000
##627FDF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#1094A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #627fdf;
/* rgb */ color: rgb(98, 127, 223);
/* oklch */ color: oklch(62.0% 0.149 269.1);
Tailwind
colors: {
  custom: {
    50: '#97a3e9',
    500: '#627fdf',
    950: '#000000',
  },
}
SCSS
$custom: #627fdf;
$custom-light: #97a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#627fdf",
  "rgb": {
    "r": 98,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 226.08,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.14863,
    "h": 269.1
  },
  "luminance": 0.23103
}

Semantic roles & 50–950 ramp

primary
#627FDF
secondary
#E5DAB8
accent
#A417CE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #627FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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