#285F9F#285F9F

#285F9F is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.118 H 254.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#285F9F
RGBrgb(40, 95, 159)
HSLhsl(212, 60%, 39%)
HSVhsv(212, 75%, 62%)
CMYKcmyk(74.8%, 40.3%, 0%, 37.6%)
CIE-LABlab(39.81, 4.73, -39.93)
CIE-LCHlch(39.81, 40.21, 276.76°)
OKLaboklab(48.21% -0.0322 -0.1139)
OKLCHoklch(48.21% 0.118 254.2)
XYZxyz(11.2230, 11.1375, 34.3524)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F9F #9F6828
analogous
#289B9F #285F9F #2D289F
triadic
#285F9F #9F285F #5F9F28
tetradic
#285F9F #9F289B #9F6828 #289F2D
square
#285F9F #9F289B #9F6828 #289F2D
split-complementary
#285F9F #9F2D28 #9B9F28
monochromatic
#0F253D #1C426E #285F9F #377CCD #689CD9

Accessibility & contrast

On white

6.51
#285F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#285F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F9F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F9F#FFFFFF#000000##FFFFFF
##285F9F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A2
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #285f9f;
/* rgb */ color: rgb(40, 95, 159);
/* oklch */ color: oklch(48.2% 0.118 254.2);
Tailwind
colors: {
  custom: {
    50: '#728cbc',
    500: '#285f9f',
    950: '#000000',
  },
}
SCSS
$custom: #285f9f;
$custom-light: #728cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#285f9f",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 159
  },
  "hsl": {
    "h": 212.269,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.11838,
    "h": 254.2
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#285F9F
secondary
#BF9564
accent
#9A45E3
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #285F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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