#285B7A#285B7A

#285B7A is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.074 H 238.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#285B7A
RGBrgb(40, 91, 122)
HSLhsl(203, 51%, 32%)
HSVhsv(203, 67%, 48%)
CMYKcmyk(67.2%, 25.4%, 0%, 52.2%)
CIE-LABlab(36.63, -6.56, -22.54)
CIE-LCHlch(36.63, 23.47, 253.78°)
OKLaboklab(45.07% -0.0392 -0.0633)
OKLCHoklch(45.07% 0.074 238.2)
XYZxyz(8.1277, 9.3376, 19.7826)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B7A #7A4728
analogous
#287A70 #285B7A #28327A
triadic
#285B7A #7A285B #5B7A28
tetradic
#285B7A #70287A #7A4728 #327A28
square
#285B7A #70287A #7A4728 #327A28
split-complementary
#285B7A #7A2832 #7A7028
monochromatic
#0A161E #19394C #285B7A #377DA8 #559CC7

Accessibility & contrast

On white

7.32
#285B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#285B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B7A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B7A#FFFFFF#000000##FFFFFF
##285B7A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7B
Deuteranopia (green-blind)
#415379
Tritanopia (blue-blind)
#006366
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285b7a;
/* rgb */ color: rgb(40, 91, 122);
/* oklch */ color: oklch(45.1% 0.074 238.2);
Tailwind
colors: {
  custom: {
    50: '#6b89a0',
    500: '#285b7a',
    950: '#000000',
  },
}
SCSS
$custom: #285b7a;
$custom-light: #6b89a0;
$custom-dark: #000000;
JSON
{
  "hex": "#285b7a",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 122
  },
  "hsl": {
    "h": 202.683,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.07447,
    "h": 238.2
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#285B7A
secondary
#AC7452
accent
#834EDA
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #285B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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