#285E7E#285E7E

#285E7E is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.077 H 237.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#285E7E
RGBrgb(40, 94, 126)
HSLhsl(202, 52%, 33%)
HSVhsv(202, 68%, 49%)
CMYKcmyk(68.3%, 25.4%, 0%, 50.6%)
CIE-LABlab(37.77, -6.95, -23.21)
CIE-LCHlch(37.77, 24.23, 253.33°)
OKLaboklab(46.04% -0.0411 -0.0652)
OKLCHoklch(46.04% 0.077 237.8)
XYZxyz(8.6422, 9.9620, 21.2020)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E7E #7E4828
analogous
#287E73 #285E7E #28337E
triadic
#285E7E #7E285E #5E7E28
tetradic
#285E7E #73287E #7E4828 #337E28
square
#285E7E #73287E #7E4828 #337E28
split-complementary
#285E7E #7E2833 #7E7328
monochromatic
#0B1921 #193B50 #285E7E #3781AC #579FCA

Accessibility & contrast

On white

7.02
#285E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#285E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E7E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E7E#FFFFFF#000000##FFFFFF
##285E7E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E7F
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#006669
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285e7e;
/* rgb */ color: rgb(40, 94, 126);
/* oklch */ color: oklch(46.0% 0.077 237.8);
Tailwind
colors: {
  custom: {
    50: '#6c8ba3',
    500: '#285e7e',
    950: '#000000',
  },
}
SCSS
$custom: #285e7e;
$custom-light: #6c8ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#285e7e",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 126
  },
  "hsl": {
    "h": 202.326,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.07711,
    "h": 237.8
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#285E7E
secondary
#AF7553
accent
#824DDB
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #285E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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