#62789F#62789F

#62789F is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.1% C 0.066 H 261.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#62789F
RGBrgb(98, 120, 159)
HSLhsl(218, 24%, 50%)
HSVhsv(218, 38%, 62%)
CMYKcmyk(38.4%, 24.5%, 0%, 37.6%)
CIE-LABlab(50.13, 2.12, -23.53)
CIE-LCHlch(50.13, 23.62, 275.14°)
OKLaboklab(57.07% -0.0096 -0.0653)
OKLCHoklch(57.07% 0.066 261.6)
XYZxyz(18.0096, 18.5319, 35.4222)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62789F #9F8962
analogous
#62969F #62789F #6A629F
triadic
#62789F #9F6278 #789F62
tetradic
#62789F #9F6296 #9F8962 #629F6A
square
#62789F #9F6296 #9F8962 #629F6A
split-complementary
#62789F #9F6A62 #969F62
monochromatic
#333F54 #4A5B7A #62789F #8899B6 #AEB9CD

Accessibility & contrast

On white

4.46
#62789F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#62789F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62789F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62789F#FFFFFF#000000##000000
##62789F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7AA1
Deuteranopia (green-blind)
#64759E
Tritanopia (blue-blind)
#4E8085
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #62789f;
/* rgb */ color: rgb(98, 120, 159);
/* oklch */ color: oklch(57.1% 0.066 261.6);
Tailwind
colors: {
  custom: {
    50: '#919ebb',
    500: '#62789f',
    950: '#000000',
  },
}
SCSS
$custom: #62789f;
$custom-light: #919ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#62789f",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 218.361,
    "s": 24.111,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.06599,
    "h": 261.6
  },
  "luminance": 0.18533
}

Semantic roles & 50–950 ramp

primary
#62789F
secondary
#BCB2A1
accent
#A067C1
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #62789F

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

Preview Lab → · Contrast checker → · Palette generator →

#62789F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva