#285E7D#285E7D

#285E7D is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.0% C 0.076 H 236.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#285E7D
RGBrgb(40, 94, 125)
HSLhsl(202, 52%, 32%)
HSVhsv(202, 68%, 49%)
CMYKcmyk(68%, 24.8%, 0%, 51%)
CIE-LABlab(37.73, -7.31, -22.67)
CIE-LCHlch(37.73, 23.82, 252.13°)
OKLaboklab(45.99% -0.0415 -0.0637)
OKLCHoklch(45.99% 0.076 236.9)
XYZxyz(8.5780, 9.9363, 20.8639)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E7D #7D4728
analogous
#287D71 #285E7D #28347D
triadic
#285E7D #7D285E #5E7D28
tetradic
#285E7D #71287D #7D4728 #347D28
square
#285E7D #71287D #7D4728 #347D28
split-complementary
#285E7D #7D2834 #7D7128
monochromatic
#0A1820 #193B4F #285E7D #3781AB #569FC9

Accessibility & contrast

On white

7.03
#285E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285E7D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E7D#FFFFFF#000000##FFFFFF
##285E7D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E7E
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285e7d;
/* rgb */ color: rgb(40, 94, 125);
/* oklch */ color: oklch(46.0% 0.076 236.9);
Tailwind
colors: {
  custom: {
    50: '#6c8ba2',
    500: '#285e7d',
    950: '#000000',
  },
}
SCSS
$custom: #285e7d;
$custom-light: #6c8ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#285e7d",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 125
  },
  "hsl": {
    "h": 201.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45987,
    "c": 0.07601,
    "h": 236.9
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#285E7D
secondary
#AE7453
accent
#814DDB
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #285E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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