#285C7D#285C7D

#285C7D is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.5% C 0.077 H 239.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#285C7D
RGBrgb(40, 92, 125)
HSLhsl(203, 52%, 32%)
HSVhsv(203, 68%, 49%)
CMYKcmyk(68%, 26.4%, 0%, 51%)
CIE-LABlab(37.09, -6.09, -23.67)
CIE-LCHlch(37.09, 24.44, 255.57°)
OKLaboklab(45.48% -0.0392 -0.0666)
OKLCHoklch(45.48% 0.077 239.5)
XYZxyz(8.4025, 9.5852, 20.8054)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C7D #7D4928
analogous
#287D73 #285C7D #28327D
triadic
#285C7D #7D285C #5C7D28
tetradic
#285C7D #73287D #7D4928 #327D28
square
#285C7D #73287D #7D4928 #327D28
split-complementary
#285C7D #7D2832 #7D7328
monochromatic
#0A1820 #193A4F #285C7D #377EAB #569DC9

Accessibility & contrast

On white

7.20
#285C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#285C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C7D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C7D#FFFFFF#000000##FFFFFF
##285C7D1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#41547C
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285c7d;
/* rgb */ color: rgb(40, 92, 125);
/* oklch */ color: oklch(45.5% 0.077 239.5);
Tailwind
colors: {
  custom: {
    50: '#6c8aa2',
    500: '#285c7d',
    950: '#000000',
  },
}
SCSS
$custom: #285c7d;
$custom-light: #6c8aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#285c7d",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 125
  },
  "hsl": {
    "h": 203.294,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.07727,
    "h": 239.5
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#285C7D
secondary
#AE7653
accent
#844DDB
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #285C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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