#285A7B#285A7B

#285A7B is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.076 H 240.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#285A7B
RGBrgb(40, 90, 123)
HSLhsl(204, 51%, 32%)
HSVhsv(204, 67%, 48%)
CMYKcmyk(67.5%, 26.8%, 0%, 51.8%)
CIE-LABlab(36.35, -5.58, -23.58)
CIE-LCHlch(36.35, 24.23, 256.69°)
OKLaboklab(44.87% -0.0377 -0.0663)
OKLCHoklch(44.87% 0.076 240.4)
XYZxyz(8.1050, 9.1927, 20.0823)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A7B #7B4928
analogous
#287B73 #285A7B #28317B
triadic
#285A7B #7B285A #5A7B28
tetradic
#285A7B #73287B #7B4928 #317B28
square
#285A7B #73287B #7B4928 #317B28
split-complementary
#285A7B #7B2831 #7B7328
monochromatic
#0A161F #19384D #285A7B #377CA9 #569AC8

Accessibility & contrast

On white

7.40
#285A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#285A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A7B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A7B#FFFFFF#000000##FFFFFF
##285A7B1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7D
Deuteranopia (green-blind)
#40527A
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285a7b;
/* rgb */ color: rgb(40, 90, 123);
/* oklch */ color: oklch(44.9% 0.076 240.4);
Tailwind
colors: {
  custom: {
    50: '#6b88a1',
    500: '#285a7b',
    950: '#000000',
  },
}
SCSS
$custom: #285a7b;
$custom-light: #6b88a1;
$custom-dark: #000000;
JSON
{
  "hex": "#285a7b",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 123
  },
  "hsl": {
    "h": 203.855,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44866,
    "c": 0.0763,
    "h": 240.4
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#285A7B
secondary
#AD7652
accent
#854DDA
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #285A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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