#28638B#28638B

#28638B is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.0% C 0.089 H 241.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#28638B
RGBrgb(40, 99, 139)
HSLhsl(204, 55%, 35%)
HSVhsv(204, 71%, 55%)
CMYKcmyk(71.2%, 28.8%, 0%, 45.5%)
CIE-LABlab(39.98, -5.28, -27.67)
CIE-LCHlch(39.98, 28.17, 259.20°)
OKLaboklab(47.99% -0.042 -0.0781)
OKLCHoklch(47.99% 0.089 241.7)
XYZxyz(9.9953, 11.2378, 26.0634)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28638B #8B5028
analogous
#288B81 #28638B #28328B
triadic
#28638B #8B2863 #638B28
tetradic
#28638B #81288B #8B5028 #328B28
square
#28638B #81288B #8B5028 #328B28
split-complementary
#28638B #8B2832 #8B8128
monochromatic
#0D1F2C #1A415B #28638B #3685BB #5DA2D0

Accessibility & contrast

On white

6.47
#28638B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28638B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28638B#FFFFFF#000000##FFFFFF
##28638B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648D
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #28638b;
/* rgb */ color: rgb(40, 99, 139);
/* oklch */ color: oklch(48.0% 0.089 241.7);
Tailwind
colors: {
  custom: {
    50: '#6f8fad',
    500: '#28638b',
    950: '#000000',
  },
}
SCSS
$custom: #28638b;
$custom-light: #6f8fad;
$custom-dark: #000000;
JSON
{
  "hex": "#28638b",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 139
  },
  "hsl": {
    "h": 204.242,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.08866,
    "h": 241.7
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28638B

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

Preview Lab → · Contrast checker → · Palette generator →

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