#285F7F#285F7F

#285F7F is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.3% C 0.078 H 237.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#285F7F
RGBrgb(40, 95, 127)
HSLhsl(202, 52%, 33%)
HSVhsv(202, 69%, 50%)
CMYKcmyk(68.5%, 25.2%, 0%, 50.2%)
CIE-LABlab(38.14, -7.20, -23.25)
CIE-LCHlch(38.14, 24.34, 252.80°)
OKLaboklab(46.35% -0.0419 -0.0653)
OKLCHoklch(46.35% 0.078 237.3)
XYZxyz(8.7966, 10.1669, 21.5734)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F7F #7F4828
analogous
#287F73 #285F7F #28337F
triadic
#285F7F #7F285F #5F7F28
tetradic
#285F7F #73287F #7F4828 #337F28
square
#285F7F #73287F #7F4828 #337F28
split-complementary
#285F7F #7F2833 #7F7328
monochromatic
#0B1922 #193C50 #285F7F #3782AE #57A0CA

Accessibility & contrast

On white

6.92
#285F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#285F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F7F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F7F#FFFFFF#000000##FFFFFF
##285F7F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F80
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #285f7f;
/* rgb */ color: rgb(40, 95, 127);
/* oklch */ color: oklch(46.3% 0.078 237.3);
Tailwind
colors: {
  custom: {
    50: '#6c8ca4',
    500: '#285f7f',
    950: '#000000',
  },
}
SCSS
$custom: #285f7f;
$custom-light: #6c8ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#285f7f",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 127
  },
  "hsl": {
    "h": 202.069,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.07761,
    "h": 237.3
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#285F7F
secondary
#AF7554
accent
#814CDC
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #285F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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