#285998#285998

#285998 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.116 H 255.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#285998
RGBrgb(40, 89, 152)
HSLhsl(214, 58%, 38%)
HSVhsv(214, 74%, 60%)
CMYKcmyk(73.7%, 41.4%, 0%, 40.4%)
CIE-LABlab(37.59, 5.92, -39.27)
CIE-LCHlch(37.59, 39.71, 278.58°)
OKLaboklab(46.35% -0.0281 -0.1121)
OKLCHoklch(46.35% 0.116 255.9)
XYZxyz(10.1129, 9.8618, 31.0702)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285998 #986728
analogous
#289198 #285998 #2F2898
triadic
#285998 #982859 #599828
tetradic
#285998 #982891 #986728 #28982F
square
#285998 #982891 #986728 #28982F
split-complementary
#285998 #982F28 #919828
monochromatic
#0F2037 #1B3D68 #285998 #3575C8 #6496D6

Accessibility & contrast

On white

7.06
#285998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#285998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285998
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285998#FFFFFF#000000##FFFFFF
##2859981.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285998;
/* rgb */ color: rgb(40, 89, 152);
/* oklch */ color: oklch(46.3% 0.116 255.9);
Tailwind
colors: {
  custom: {
    50: '#7187b7',
    500: '#285998',
    950: '#000000',
  },
}
SCSS
$custom: #285998;
$custom-light: #7187b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285998",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 213.75,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.11557,
    "h": 255.9
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#285998
secondary
#BC9460
accent
#9E46E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285998

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

Preview Lab → · Contrast checker → · Palette generator →

#285998 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva