#285F98#285F98

#285F98 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.109 H 251.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#285F98
RGBrgb(40, 95, 152)
HSLhsl(211, 58%, 38%)
HSVhsv(211, 74%, 60%)
CMYKcmyk(73.7%, 37.5%, 0%, 40.4%)
CIE-LABlab(39.41, 2.07, -36.37)
CIE-LCHlch(39.41, 36.43, 273.25°)
OKLaboklab(47.77% -0.0339 -0.1035)
OKLCHoklch(47.77% 0.109 251.8)
XYZxyz(10.6327, 10.9014, 31.2435)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F98 #986128
analogous
#289798 #285F98 #292898
triadic
#285F98 #98285F #5F9828
tetradic
#285F98 #982897 #986128 #289829
square
#285F98 #982897 #986128 #289829
split-complementary
#285F98 #982928 #979828
monochromatic
#0F2237 #1B4168 #285F98 #357DC8 #649CD6

Accessibility & contrast

On white

6.60
#285F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#285F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285F98
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F98#FFFFFF#000000##FFFFFF
##285F981.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639A
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #285f98;
/* rgb */ color: rgb(40, 95, 152);
/* oklch */ color: oklch(47.8% 0.109 251.8);
Tailwind
colors: {
  custom: {
    50: '#718cb6',
    500: '#285f98',
    950: '#000000',
  },
}
SCSS
$custom: #285f98;
$custom-light: #718cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#285f98",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 152
  },
  "hsl": {
    "h": 210.536,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.10894,
    "h": 251.8
  },
  "luminance": 0.10903
}

Semantic roles & 50–950 ramp

primary
#285F98
secondary
#BC8F60
accent
#9546E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #285F98

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

Preview Lab → · Contrast checker → · Palette generator →

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