#285D7A#285D7A

#285D7A is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.6% C 0.073 H 235.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#285D7A
RGBrgb(40, 93, 122)
HSLhsl(201, 51%, 32%)
HSVhsv(201, 67%, 48%)
CMYKcmyk(67.2%, 23.8%, 0%, 52.2%)
CIE-LABlab(37.27, -7.77, -21.54)
CIE-LCHlch(37.27, 22.90, 250.16°)
OKLaboklab(45.58% -0.0415 -0.0604)
OKLCHoklch(45.58% 0.073 235.5)
XYZxyz(8.3009, 9.6841, 19.8403)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D7A #7A4528
analogous
#287A6E #285D7A #28347A
triadic
#285D7A #7A285D #5D7A28
tetradic
#285D7A #6E287A #7A4528 #347A28
square
#285D7A #6E287A #7A4528 #347A28
split-complementary
#285D7A #7A2834 #7A6E28
monochromatic
#0A171E #193A4C #285D7A #3780A8 #559FC7

Accessibility & contrast

On white

7.15
#285D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#285D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D7A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D7A#FFFFFF#000000##FFFFFF
##285D7A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7B
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#006567
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285d7a;
/* rgb */ color: rgb(40, 93, 122);
/* oklch */ color: oklch(45.6% 0.073 235.5);
Tailwind
colors: {
  custom: {
    50: '#6b8aa0',
    500: '#285d7a',
    950: '#000000',
  },
}
SCSS
$custom: #285d7a;
$custom-light: #6b8aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#285d7a",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 122
  },
  "hsl": {
    "h": 201.22,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45578,
    "c": 0.07331,
    "h": 235.5
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#285D7A
secondary
#AC7252
accent
#7F4EDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #285D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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