#285B7C#285B7C

#285B7C is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.2% C 0.077 H 239.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#285B7C
RGBrgb(40, 91, 124)
HSLhsl(204, 51%, 32%)
HSVhsv(204, 68%, 49%)
CMYKcmyk(67.7%, 26.6%, 0%, 51.4%)
CIE-LABlab(36.72, -5.83, -23.62)
CIE-LCHlch(36.72, 24.33, 256.13°)
OKLaboklab(45.17% -0.0385 -0.0664)
OKLCHoklch(45.17% 0.077 239.9)
XYZxyz(8.2529, 9.3877, 20.4419)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B7C #7C4928
analogous
#287C73 #285B7C #28317C
triadic
#285B7C #7C285B #5B7C28
tetradic
#285B7C #73287C #7C4928 #317C28
square
#285B7C #73287C #7C4928 #317C28
split-complementary
#285B7C #7C2831 #7C7328
monochromatic
#0A171F #19394E #285B7C #377DAA #569BC8

Accessibility & contrast

On white

7.30
#285B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#285B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B7C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B7C#FFFFFF#000000##FFFFFF
##285B7C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#40537B
Tritanopia (blue-blind)
#006366
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285b7c;
/* rgb */ color: rgb(40, 91, 124);
/* oklch */ color: oklch(45.2% 0.077 239.9);
Tailwind
colors: {
  custom: {
    50: '#6c89a2',
    500: '#285b7c',
    950: '#000000',
  },
}
SCSS
$custom: #285b7c;
$custom-light: #6c89a2;
$custom-dark: #000000;
JSON
{
  "hex": "#285b7c",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 124
  },
  "hsl": {
    "h": 203.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.07678,
    "h": 239.9
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#285B7C
secondary
#AD7652
accent
#854DDB
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #285B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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