#285F7A#285F7A

#285F7A is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.1% C 0.072 H 232.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#285F7A
RGBrgb(40, 95, 122)
HSLhsl(200, 51%, 32%)
HSVhsv(200, 67%, 48%)
CMYKcmyk(67.2%, 22.1%, 0%, 52.2%)
CIE-LABlab(37.91, -8.98, -20.54)
CIE-LCHlch(37.91, 22.42, 246.40°)
OKLaboklab(46.09% -0.0438 -0.0575)
OKLCHoklch(46.09% 0.072 232.7)
XYZxyz(8.4788, 10.0398, 19.8996)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F7A #7A4328
analogous
#287A6C #285F7A #28367A
triadic
#285F7A #7A285F #5F7A28
tetradic
#285F7A #6C287A #7A4328 #367A28
square
#285F7A #6C287A #7A4328 #367A28
split-complementary
#285F7A #7A2836 #7A6C28
monochromatic
#0A171E #193B4C #285F7A #3783A8 #55A2C7

Accessibility & contrast

On white

6.98
#285F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#285F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F7A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F7A#FFFFFF#000000##FFFFFF
##285F7A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7B
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285f7a;
/* rgb */ color: rgb(40, 95, 122);
/* oklch */ color: oklch(46.1% 0.072 232.7);
Tailwind
colors: {
  custom: {
    50: '#6c8ca0',
    500: '#285f7a',
    950: '#000000',
  },
}
SCSS
$custom: #285f7a;
$custom-light: #6c8ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#285f7a",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 122
  },
  "hsl": {
    "h": 199.756,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.07232,
    "h": 232.7
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#285F7A
secondary
#AC7052
accent
#7C4EDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #285F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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