#285E7B#285E7B

#285E7B is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.074 H 235.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#285E7B
RGBrgb(40, 94, 123)
HSLhsl(201, 51%, 32%)
HSVhsv(201, 67%, 48%)
CMYKcmyk(67.5%, 23.6%, 0%, 51.8%)
CIE-LABlab(37.64, -8.02, -21.59)
CIE-LCHlch(37.64, 23.03, 249.61°)
OKLaboklab(45.89% -0.0423 -0.0605)
OKLCHoklch(45.89% 0.074 235.1)
XYZxyz(8.4515, 9.8857, 20.1978)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E7B #7B4528
analogous
#287B6F #285E7B #28357B
triadic
#285E7B #7B285E #5E7B28
tetradic
#285E7B #6F287B #7B4528 #357B28
square
#285E7B #6F287B #7B4528 #357B28
split-complementary
#285E7B #7B2835 #7B6F28
monochromatic
#0A171F #193B4D #285E7B #3781A9 #56A0C8

Accessibility & contrast

On white

7.05
#285E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#285E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E7B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E7B#FFFFFF#000000##FFFFFF
##285E7B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285e7b;
/* rgb */ color: rgb(40, 94, 123);
/* oklch */ color: oklch(45.9% 0.074 235.1);
Tailwind
colors: {
  custom: {
    50: '#6c8ba1',
    500: '#285e7b',
    950: '#000000',
  },
}
SCSS
$custom: #285e7b;
$custom-light: #6c8ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#285e7b",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 123
  },
  "hsl": {
    "h": 200.964,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.07384,
    "h": 235.1
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#285E7B
secondary
#AD7252
accent
#7F4DDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0F
muted
#7A7D7E

Preview Lab

Preview with #285E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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