#285F7C#285F7C

#285F7C is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.2% C 0.074 H 234.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#285F7C
RGBrgb(40, 95, 124)
HSLhsl(201, 51%, 32%)
HSVhsv(201, 68%, 49%)
CMYKcmyk(67.7%, 23.4%, 0%, 51.4%)
CIE-LABlab(38.00, -8.27, -21.63)
CIE-LCHlch(38.00, 23.16, 249.08°)
OKLaboklab(46.19% -0.043 -0.0607)
OKLCHoklch(46.19% 0.074 234.7)
XYZxyz(8.6040, 10.0899, 20.5590)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F7C #7C4528
analogous
#287C6F #285F7C #28357C
triadic
#285F7C #7C285F #5F7C28
tetradic
#285F7C #6F287C #7C4528 #357C28
square
#285F7C #6F287C #7C4528 #357C28
split-complementary
#285F7C #7C2835 #7C6F28
monochromatic
#0A181F #193C4E #285F7C #3782AA #56A1C8

Accessibility & contrast

On white

6.96
#285F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#285F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F7C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F7C#FFFFFF#000000##FFFFFF
##285F7C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7D
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285f7c;
/* rgb */ color: rgb(40, 95, 124);
/* oklch */ color: oklch(46.2% 0.074 234.7);
Tailwind
colors: {
  custom: {
    50: '#6c8ca2',
    500: '#285f7c',
    950: '#000000',
  },
}
SCSS
$custom: #285f7c;
$custom-light: #6c8ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#285f7c",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 124
  },
  "hsl": {
    "h": 200.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.07437,
    "h": 234.7
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#285F7C
secondary
#AD7252
accent
#7E4DDB
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #285F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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