#285C98#285C98

#285C98 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.112 H 254.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#285C98
RGBrgb(40, 92, 152)
HSLhsl(212, 58%, 38%)
HSVhsv(212, 74%, 60%)
CMYKcmyk(73.7%, 39.5%, 0%, 40.4%)
CIE-LABlab(38.50, 3.98, -37.82)
CIE-LCHlch(38.50, 38.03, 276.01°)
OKLaboklab(47.05% -0.031 -0.1078)
OKLCHoklch(47.05% 0.112 254)
XYZxyz(10.3676, 10.3713, 31.1551)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C98 #986428
analogous
#289498 #285C98 #2C2898
triadic
#285C98 #98285C #5C9828
tetradic
#285C98 #982894 #986428 #28982C
square
#285C98 #982894 #986428 #28982C
split-complementary
#285C98 #982C28 #949828
monochromatic
#0F2137 #1B3F68 #285C98 #3579C8 #6499D6

Accessibility & contrast

On white

6.83
#285C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#285C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285C98
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C98#FFFFFF#000000##FFFFFF
##285C981.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#2F5697
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #285c98;
/* rgb */ color: rgb(40, 92, 152);
/* oklch */ color: oklch(47.1% 0.112 254.0);
Tailwind
colors: {
  custom: {
    50: '#7189b6',
    500: '#285c98',
    950: '#000000',
  },
}
SCSS
$custom: #285c98;
$custom-light: #7189b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285c98",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 152
  },
  "hsl": {
    "h": 212.143,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.11218,
    "h": 254
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#285C98
secondary
#BC9160
accent
#9946E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285C98

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

Preview Lab → · Contrast checker → · Palette generator →

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