#62789B#62789B

#62789B is a mid, moderate blue. Relative luminance 0.184; OKLCH L 56.9% C 0.060 H 259.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#62789B
RGBrgb(98, 120, 155)
HSLhsl(217, 23%, 50%)
HSVhsv(217, 37%, 61%)
CMYKcmyk(36.8%, 22.6%, 0%, 39.2%)
CIE-LABlab(49.97, 0.99, -21.44)
CIE-LCHlch(49.97, 21.46, 272.65°)
OKLaboklab(56.89% -0.0109 -0.0593)
OKLCHoklch(56.89% 0.06 259.6)
XYZxyz(17.6681, 18.3953, 33.6237)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62789B #9B8562
analogous
#62959B #62789B #68629B
triadic
#62789B #9B6278 #789B62
tetradic
#62789B #9B6295 #9B8562 #629B68
square
#62789B #9B6295 #9B8562 #629B68
split-complementary
#62789B #9B6862 #959B62
monochromatic
#333E50 #4A5B76 #62789B #8798B3 #ADB8CB

Accessibility & contrast

On white

4.49
#62789B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#62789B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62789B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62789B#FFFFFF#000000##000000
##62789B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7A9D
Deuteranopia (green-blind)
#66749A
Tritanopia (blue-blind)
#507F84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #62789b;
/* rgb */ color: rgb(98, 120, 155);
/* oklch */ color: oklch(56.9% 0.060 259.6);
Tailwind
colors: {
  custom: {
    50: '#909eb8',
    500: '#62789b',
    950: '#000000',
  },
}
SCSS
$custom: #62789b;
$custom-light: #909eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#62789b",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 216.842,
    "s": 22.53,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.06034,
    "h": 259.6
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#62789B
secondary
#B9AF9F
accent
#9E69BF
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0E11
muted
#7E7E80

Preview Lab

Preview with #62789B

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

Preview Lab → · Contrast checker → · Palette generator →

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