#28658F#28658F

#28658F is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.7% C 0.092 H 242.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#28658F
RGBrgb(40, 101, 143)
HSLhsl(204, 56%, 36%)
HSVhsv(204, 72%, 56%)
CMYKcmyk(72%, 29.4%, 0%, 43.9%)
CIE-LABlab(40.80, -5.03, -28.79)
CIE-LCHlch(40.80, 29.22, 260.08°)
OKLaboklab(48.7% -0.0428 -0.0813)
OKLCHoklch(48.7% 0.092 242.2)
XYZxyz(10.4848, 11.7405, 27.6948)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28658F #8F5228
analogous
#288F85 #28658F #28318F
triadic
#28658F #8F2865 #658F28
tetradic
#28658F #85288F #8F5228 #318F28
square
#28658F #85288F #8F5228 #318F28
split-complementary
#28658F #8F2831 #8F8528
monochromatic
#0D212F #1B435F #28658F #3587BF #5FA3D2

Accessibility & contrast

On white

6.27
#28658F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#28658F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28658F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28658F#FFFFFF#000000##FFFFFF
##28658F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526691
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#006F74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #28658f;
/* rgb */ color: rgb(40, 101, 143);
/* oklch */ color: oklch(48.7% 0.092 242.2);
Tailwind
colors: {
  custom: {
    50: '#6f90b0',
    500: '#28658f',
    950: '#000000',
  },
}
SCSS
$custom: #28658f;
$custom-light: #6f90b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28658f",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 143
  },
  "hsl": {
    "h": 204.466,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.09187,
    "h": 242.2
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#28658F
secondary
#B8815B
accent
#8648E0
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #28658F

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

Preview Lab → · Contrast checker → · Palette generator →

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