#28627B#28627B

#28627B is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 46.9% C 0.072 H 229.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#28627B
RGBrgb(40, 98, 123)
HSLhsl(198, 51%, 32%)
HSVhsv(198, 67%, 48%)
CMYKcmyk(67.5%, 20.3%, 0%, 51.8%)
CIE-LABlab(38.93, -10.41, -19.59)
CIE-LCHlch(38.93, 22.19, 242.02°)
OKLaboklab(46.91% -0.0468 -0.0548)
OKLCHoklch(46.91% 0.072 229.5)
XYZxyz(8.8165, 10.6156, 20.3194)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28627B #7B4128
analogous
#287B6B #28627B #28397B
triadic
#28627B #7B2862 #627B28
tetradic
#28627B #6B287B #7B4128 #397B28
square
#28627B #6B287B #7B4128 #397B28
split-complementary
#28627B #7B2839 #7B6B28
monochromatic
#0A181F #193D4D #28627B #3787A9 #56A5C8

Accessibility & contrast

On white

6.72
#28627B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#28627B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28627B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28627B#FFFFFF#000000##FFFFFF
##28627B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607C
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#00696A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #28627b;
/* rgb */ color: rgb(40, 98, 123);
/* oklch */ color: oklch(46.9% 0.072 229.5);
Tailwind
colors: {
  custom: {
    50: '#6c8ea1',
    500: '#28627b',
    950: '#000000',
  },
}
SCSS
$custom: #28627b;
$custom-light: #6c8ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#28627b",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 123
  },
  "hsl": {
    "h": 198.072,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.07209,
    "h": 229.5
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#28627B
secondary
#AD6D52
accent
#784DDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #28627B

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

Preview Lab → · Contrast checker → · Palette generator →

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