#285C7C#285C7C

#285C7C is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.4% C 0.076 H 238.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#285C7C
RGBrgb(40, 92, 124)
HSLhsl(203, 51%, 32%)
HSVhsv(203, 68%, 49%)
CMYKcmyk(67.7%, 25.8%, 0%, 51.4%)
CIE-LABlab(37.04, -6.45, -23.13)
CIE-LCHlch(37.04, 24.01, 254.42°)
OKLaboklab(45.43% -0.0396 -0.065)
OKLCHoklch(45.43% 0.076 238.6)
XYZxyz(8.3389, 9.5598, 20.4706)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C7C #7C4828
analogous
#287C72 #285C7C #28327C
triadic
#285C7C #7C285C #5C7C28
tetradic
#285C7C #72287C #7C4828 #327C28
square
#285C7C #72287C #7C4828 #327C28
split-complementary
#285C7C #7C2832 #7C7228
monochromatic
#0A171F #193A4E #285C7C #377EAA #569DC8

Accessibility & contrast

On white

7.21
#285C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#285C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C7C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C7C#FFFFFF#000000##FFFFFF
##285C7C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7D
Deuteranopia (green-blind)
#42537B
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285c7c;
/* rgb */ color: rgb(40, 92, 124);
/* oklch */ color: oklch(45.4% 0.076 238.6);
Tailwind
colors: {
  custom: {
    50: '#6c8aa2',
    500: '#285c7c',
    950: '#000000',
  },
}
SCSS
$custom: #285c7c;
$custom-light: #6c8aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#285c7c",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 124
  },
  "hsl": {
    "h": 202.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.07612,
    "h": 238.6
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#285C7C
secondary
#AD7552
accent
#834DDB
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #285C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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