#285B7E#285B7E

#285B7E is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.079 H 241.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#285B7E
RGBrgb(40, 91, 126)
HSLhsl(204, 52%, 33%)
HSVhsv(204, 68%, 49%)
CMYKcmyk(68.3%, 27.8%, 0%, 50.6%)
CIE-LABlab(36.82, -5.11, -24.70)
CIE-LCHlch(36.82, 25.23, 258.31°)
OKLaboklab(45.28% -0.0378 -0.0696)
OKLCHoklch(45.28% 0.079 241.5)
XYZxyz(8.3806, 9.4388, 21.1148)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B7E #7E4B28
analogous
#287E76 #285B7E #28307E
triadic
#285B7E #7E285B #5B7E28
tetradic
#285B7E #76287E #7E4B28 #307E28
square
#285B7E #76287E #7E4B28 #307E28
split-complementary
#285B7E #7E2830 #7E7628
monochromatic
#0B1821 #193950 #285B7E #377DAC #579BCA

Accessibility & contrast

On white

7.27
#285B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#285B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B7E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B7E#FFFFFF#000000##FFFFFF
##285B7E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B80
Deuteranopia (green-blind)
#3F537D
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #285b7e;
/* rgb */ color: rgb(40, 91, 126);
/* oklch */ color: oklch(45.3% 0.079 241.5);
Tailwind
colors: {
  custom: {
    50: '#6c89a3',
    500: '#285b7e',
    950: '#000000',
  },
}
SCSS
$custom: #285b7e;
$custom-light: #6c89a3;
$custom-dark: #000000;
JSON
{
  "hex": "#285b7e",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 126
  },
  "hsl": {
    "h": 204.419,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.07915,
    "h": 241.5
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#285B7E
secondary
#AF7853
accent
#874DDB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #285B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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