#28638F#28638F

#28638F is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.2% C 0.093 H 244.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#28638F
RGBrgb(40, 99, 143)
HSLhsl(206, 56%, 36%)
HSVhsv(206, 72%, 56%)
CMYKcmyk(72%, 30.8%, 0%, 43.9%)
CIE-LABlab(40.17, -3.81, -29.77)
CIE-LCHlch(40.17, 30.01, 262.71°)
OKLaboklab(48.21% -0.0407 -0.0842)
OKLCHoklch(48.21% 0.094 244.2)
XYZxyz(10.2929, 11.3568, 27.6309)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28638F #8F5428
analogous
#288F87 #28638F #282F8F
triadic
#28638F #8F2863 #638F28
tetradic
#28638F #87288F #8F5428 #2F8F28
square
#28638F #87288F #8F5428 #2F8F28
split-complementary
#28638F #8F282F #8F8728
monochromatic
#0D212F #1B425F #28638F #3584BF #5FA1D2

Accessibility & contrast

On white

6.42
#28638F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#28638F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28638F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28638F#FFFFFF#000000##FFFFFF
##28638F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6491
Deuteranopia (green-blind)
#415A8E
Tritanopia (blue-blind)
#006E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #28638f;
/* rgb */ color: rgb(40, 99, 143);
/* oklch */ color: oklch(48.2% 0.093 244.2);
Tailwind
colors: {
  custom: {
    50: '#6f8fb0',
    500: '#28638f',
    950: '#000000',
  },
}
SCSS
$custom: #28638f;
$custom-light: #6f8fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#28638f",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 143
  },
  "hsl": {
    "h": 205.631,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.0935,
    "h": 244.2
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#28638F
secondary
#B8835B
accent
#8948E0
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #28638F

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

Preview Lab → · Contrast checker → · Palette generator →

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