#285F7E#285F7E

#285F7E is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.3% C 0.077 H 236.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#285F7E
RGBrgb(40, 95, 126)
HSLhsl(202, 52%, 33%)
HSVhsv(202, 68%, 49%)
CMYKcmyk(68.3%, 24.6%, 0%, 50.6%)
CIE-LABlab(38.09, -7.56, -22.71)
CIE-LCHlch(38.09, 23.94, 251.60°)
OKLaboklab(46.29% -0.0423 -0.0638)
OKLCHoklch(46.29% 0.077 236.5)
XYZxyz(8.7317, 10.1410, 21.2319)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F7E #7E4728
analogous
#287E72 #285F7E #28347E
triadic
#285F7E #7E285F #5F7E28
tetradic
#285F7E #72287E #7E4728 #347E28
square
#285F7E #72287E #7E4728 #347E28
split-complementary
#285F7E #7E2834 #7E7228
monochromatic
#0B1921 #193C50 #285F7E #3782AC #57A0CA

Accessibility & contrast

On white

6.93
#285F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#285F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F7E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F7E#FFFFFF#000000##FFFFFF
##285F7E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7F
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #285f7e;
/* rgb */ color: rgb(40, 95, 126);
/* oklch */ color: oklch(46.3% 0.077 236.5);
Tailwind
colors: {
  custom: {
    50: '#6c8ca3',
    500: '#285f7e',
    950: '#000000',
  },
}
SCSS
$custom: #285f7e;
$custom-light: #6c8ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#285f7e",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 201.628,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46293,
    "c": 0.07652,
    "h": 236.5
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#285F7E
secondary
#AF7453
accent
#804DDB
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #285F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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