#285C7F#285C7F

#285C7F is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.6% C 0.080 H 241.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#285C7F
RGBrgb(40, 92, 127)
HSLhsl(204, 52%, 33%)
HSVhsv(204, 69%, 50%)
CMYKcmyk(68.5%, 27.6%, 0%, 50.2%)
CIE-LABlab(37.18, -5.36, -24.74)
CIE-LCHlch(37.18, 25.32, 257.77°)
OKLaboklab(45.59% -0.0385 -0.0697)
OKLCHoklch(45.59% 0.08 241.1)
XYZxyz(8.5315, 9.6368, 21.4850)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C7F #7F4B28
analogous
#287F76 #285C7F #28307F
triadic
#285C7F #7F285C #5C7F28
tetradic
#285C7F #76287F #7F4B28 #307F28
square
#285C7F #76287F #7F4B28 #307F28
split-complementary
#285C7F #7F2830 #7F7628
monochromatic
#0B1922 #193A50 #285C7F #377EAE #579CCA

Accessibility & contrast

On white

7.17
#285C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#285C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C7F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C7F#FFFFFF#000000##FFFFFF
##285C7F1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#40547E
Tritanopia (blue-blind)
#006568
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285c7f;
/* rgb */ color: rgb(40, 92, 127);
/* oklch */ color: oklch(45.6% 0.080 241.1);
Tailwind
colors: {
  custom: {
    50: '#6c8aa4',
    500: '#285c7f',
    950: '#000000',
  },
}
SCSS
$custom: #285c7f;
$custom-light: #6c8aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#285c7f",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 127
  },
  "hsl": {
    "h": 204.138,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.07961,
    "h": 241.1
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#285C7F
secondary
#AF7854
accent
#864CDC
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #285C7F

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

Preview Lab → · Contrast checker → · Palette generator →

#285C7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva