#285F8A#285F8A

#285F8A is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 46.9% C 0.091 H 245.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#285F8A
RGBrgb(40, 95, 138)
HSLhsl(206, 55%, 35%)
HSVhsv(206, 71%, 54%)
CMYKcmyk(71%, 31.2%, 0%, 45.9%)
CIE-LABlab(38.67, -3.18, -29.11)
CIE-LCHlch(38.67, 29.28, 263.76°)
OKLaboklab(46.94% -0.0381 -0.0823)
OKLCHoklch(46.94% 0.091 245.2)
XYZxyz(9.5530, 10.4695, 25.5572)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F8A #8A5328
analogous
#288A84 #285F8A #282E8A
triadic
#285F8A #8A285F #5F8A28
tetradic
#285F8A #84288A #8A5328 #2E8A28
square
#285F8A #84288A #8A5328 #2E8A28
split-complementary
#285F8A #8A282E #8A8428
monochromatic
#0C1E2B #1A3E5B #285F8A #3680B9 #5D9DD0

Accessibility & contrast

On white

6.79
#285F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#285F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F8A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F8A#FFFFFF#000000##FFFFFF
##285F8A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285f8a;
/* rgb */ color: rgb(40, 95, 138);
/* oklch */ color: oklch(46.9% 0.091 245.2);
Tailwind
colors: {
  custom: {
    50: '#6e8cac',
    500: '#285f8a',
    950: '#000000',
  },
}
SCSS
$custom: #285f8a;
$custom-light: #6e8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#285f8a",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 206.327,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.0907,
    "h": 245.2
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#285F8A
secondary
#B58159
accent
#8B49DE
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #285F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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