#28638C#28638C

#28638C is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.0% C 0.090 H 242.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#28638C
RGBrgb(40, 99, 140)
HSLhsl(205, 56%, 35%)
HSVhsv(205, 71%, 55%)
CMYKcmyk(71.4%, 29.3%, 0%, 45.1%)
CIE-LABlab(40.03, -4.91, -28.19)
CIE-LCHlch(40.03, 28.62, 260.12°)
OKLaboklab(48.04% -0.0417 -0.0796)
OKLCHoklch(48.04% 0.09 242.4)
XYZxyz(10.0687, 11.2671, 26.4500)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28638C #8C5128
analogous
#288C83 #28638C #28318C
triadic
#28638C #8C2863 #638C28
tetradic
#28638C #83288C #8C5128 #318C28
square
#28638C #83288C #8C5128 #318C28
split-complementary
#28638C #8C2831 #8C8328
monochromatic
#0D202D #1A415C #28638C #3685BC #5EA2D1

Accessibility & contrast

On white

6.45
#28638C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#28638C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28638C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28638C#FFFFFF#000000##FFFFFF
##28638C1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648E
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #28638c;
/* rgb */ color: rgb(40, 99, 140);
/* oklch */ color: oklch(48.0% 0.090 242.4);
Tailwind
colors: {
  custom: {
    50: '#6f8fae',
    500: '#28638c',
    950: '#000000',
  },
}
SCSS
$custom: #28638c;
$custom-light: #6f8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#28638c",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 140
  },
  "hsl": {
    "h": 204.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.08986,
    "h": 242.4
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#28638C
secondary
#B6805A
accent
#8649DF
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #28638C

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

Preview Lab → · Contrast checker → · Palette generator →

#28638C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva