#28678F#28678F

#28678F is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.2% C 0.090 H 240.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#28678F
RGBrgb(40, 103, 143)
HSLhsl(203, 56%, 36%)
HSVhsv(203, 72%, 56%)
CMYKcmyk(72%, 28%, 0%, 43.9%)
CIE-LABlab(41.43, -6.25, -27.81)
CIE-LCHlch(41.43, 28.50, 257.34°)
OKLaboklab(49.2% -0.0449 -0.0784)
OKLCHoklch(49.2% 0.09 240.2)
XYZxyz(10.6813, 12.1336, 27.7604)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28678F #8F5028
analogous
#288F83 #28678F #28338F
triadic
#28678F #8F2867 #678F28
tetradic
#28678F #83288F #8F5028 #338F28
square
#28678F #83288F #8F5028 #338F28
split-complementary
#28678F #8F2833 #8F8328
monochromatic
#0D222F #1B455F #28678F #3589BF #5FA6D2

Accessibility & contrast

On white

6.13
#28678F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#28678F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28678F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28678F#FFFFFF#000000##FFFFFF
##28678F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#465D8E
Tritanopia (blue-blind)
#007175
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28678f;
/* rgb */ color: rgb(40, 103, 143);
/* oklch */ color: oklch(49.2% 0.090 240.2);
Tailwind
colors: {
  custom: {
    50: '#6f92b0',
    500: '#28678f',
    950: '#000000',
  },
}
SCSS
$custom: #28678f;
$custom-light: #6f92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28678f",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 143
  },
  "hsl": {
    "h": 203.301,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.09038,
    "h": 240.2
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#28678F
secondary
#B87F5B
accent
#8348E0
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #28678F

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

Preview Lab → · Contrast checker → · Palette generator →

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