#285D7F#285D7F

#285D7F is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.8% C 0.079 H 239.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#285D7F
RGBrgb(40, 93, 127)
HSLhsl(203, 52%, 33%)
HSVhsv(203, 69%, 50%)
CMYKcmyk(68.5%, 26.8%, 0%, 50.2%)
CIE-LABlab(37.50, -5.98, -24.25)
CIE-LCHlch(37.50, 24.97, 256.15°)
OKLaboklab(45.84% -0.0396 -0.0682)
OKLCHoklch(45.84% 0.079 239.8)
XYZxyz(8.6187, 9.8112, 21.5141)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D7F #7F4A28
analogous
#287F75 #285D7F #28327F
triadic
#285D7F #7F285D #5D7F28
tetradic
#285D7F #75287F #7F4A28 #327F28
square
#285D7F #75287F #7F4A28 #327F28
split-complementary
#285D7F #7F2832 #7F7528
monochromatic
#0B1922 #193B50 #285D7F #377FAE #579DCA

Accessibility & contrast

On white

7.09
#285D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#285D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D7F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D7F#FFFFFF#000000##FFFFFF
##285D7F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#006669
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285d7f;
/* rgb */ color: rgb(40, 93, 127);
/* oklch */ color: oklch(45.8% 0.079 239.8);
Tailwind
colors: {
  custom: {
    50: '#6c8aa4',
    500: '#285d7f',
    950: '#000000',
  },
}
SCSS
$custom: #285d7f;
$custom-light: #6c8aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#285d7f",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 127
  },
  "hsl": {
    "h": 203.448,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.07891,
    "h": 239.8
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#285D7F
secondary
#AF7754
accent
#844CDC
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #285D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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