#285B98#285B98

#285B98 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.113 H 254.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#285B98
RGBrgb(40, 91, 152)
HSLhsl(213, 58%, 38%)
HSVhsv(213, 74%, 60%)
CMYKcmyk(73.7%, 40.1%, 0%, 40.4%)
CIE-LABlab(38.20, 4.63, -38.31)
CIE-LCHlch(38.20, 38.59, 276.89°)
OKLaboklab(46.82% -0.03 -0.1092)
OKLCHoklch(46.82% 0.113 254.6)
XYZxyz(10.2816, 10.1992, 31.1264)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B98 #986528
analogous
#289398 #285B98 #2D2898
triadic
#285B98 #98285B #5B9828
tetradic
#285B98 #982893 #986528 #28982D
square
#285B98 #982893 #986528 #28982D
split-complementary
#285B98 #982D28 #939828
monochromatic
#0F2137 #1B3E68 #285B98 #3578C8 #6498D6

Accessibility & contrast

On white

6.91
#285B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#285B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285B98
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B98#FFFFFF#000000##FFFFFF
##285B981.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#2D5597
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #285b98;
/* rgb */ color: rgb(40, 91, 152);
/* oklch */ color: oklch(46.8% 0.113 254.6);
Tailwind
colors: {
  custom: {
    50: '#7189b7',
    500: '#285b98',
    950: '#000000',
  },
}
SCSS
$custom: #285b98;
$custom-light: #7189b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285b98",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 212.679,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46817,
    "c": 0.11329,
    "h": 254.6
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#285B98
secondary
#BC9260
accent
#9B46E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285B98

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

Preview Lab → · Contrast checker → · Palette generator →

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