#285B7B#285B7B

#285B7B is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.1% C 0.076 H 239.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#285B7B
RGBrgb(40, 91, 123)
HSLhsl(203, 51%, 32%)
HSVhsv(203, 67%, 48%)
CMYKcmyk(67.5%, 26%, 0%, 51.8%)
CIE-LABlab(36.67, -6.20, -23.08)
CIE-LCHlch(36.67, 23.90, 254.97°)
OKLaboklab(45.12% -0.0388 -0.0649)
OKLCHoklch(45.12% 0.076 239.1)
XYZxyz(8.1899, 9.3625, 20.1106)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B7B #7B4828
analogous
#287B72 #285B7B #28317B
triadic
#285B7B #7B285B #5B7B28
tetradic
#285B7B #72287B #7B4828 #317B28
square
#285B7B #72287B #7B4828 #317B28
split-complementary
#285B7B #7B2831 #7B7228
monochromatic
#0A171F #19394D #285B7B #377DA9 #569CC8

Accessibility & contrast

On white

7.31
#285B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#285B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B7B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B7B#FFFFFF#000000##FFFFFF
##285B7B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7C
Deuteranopia (green-blind)
#41537A
Tritanopia (blue-blind)
#006366
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285b7b;
/* rgb */ color: rgb(40, 91, 123);
/* oklch */ color: oklch(45.1% 0.076 239.1);
Tailwind
colors: {
  custom: {
    50: '#6c89a1',
    500: '#285b7b',
    950: '#000000',
  },
}
SCSS
$custom: #285b7b;
$custom-light: #6c89a1;
$custom-dark: #000000;
JSON
{
  "hex": "#285b7b",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 123
  },
  "hsl": {
    "h": 203.133,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4512,
    "c": 0.07562,
    "h": 239.1
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#285B7B
secondary
#AD7552
accent
#844DDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #285B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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