#285F8D#285F8D

#285F8D is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.1% C 0.094 H 246.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#285F8D
RGBrgb(40, 95, 141)
HSLhsl(207, 56%, 35%)
HSVhsv(207, 72%, 55%)
CMYKcmyk(71.6%, 32.6%, 0%, 44.7%)
CIE-LABlab(38.83, -2.07, -30.68)
CIE-LCHlch(38.83, 30.75, 266.14°)
OKLaboklab(47.11% -0.0371 -0.0869)
OKLCHoklch(47.11% 0.094 246.9)
XYZxyz(9.7732, 10.5576, 26.7169)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F8D #8D5628
analogous
#288D88 #285F8D #282C8D
triadic
#285F8D #8D285F #5F8D28
tetradic
#285F8D #88288D #8D5628 #2C8D28
square
#285F8D #88288D #8D5628 #2C8D28
split-complementary
#285F8D #8D282C #8D8828
monochromatic
#0D1F2E #1A3F5D #285F8D #367FBD #5E9DD1

Accessibility & contrast

On white

6.75
#285F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#285F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F8D
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F8D#FFFFFF#000000##FFFFFF
##285F8D1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A618F
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285f8d;
/* rgb */ color: rgb(40, 95, 141);
/* oklch */ color: oklch(47.1% 0.094 246.9);
Tailwind
colors: {
  custom: {
    50: '#6f8cae',
    500: '#285f8d',
    950: '#000000',
  },
}
SCSS
$custom: #285f8d;
$custom-light: #6f8cae;
$custom-dark: #000000;
JSON
{
  "hex": "#285f8d",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 207.327,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.09449,
    "h": 246.9
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#285F8D
secondary
#B7845A
accent
#8D49DF
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #285F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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