#285898#285898

#285898 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.117 H 256.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#285898
RGBrgb(40, 88, 152)
HSLhsl(214, 58%, 38%)
HSVhsv(214, 74%, 60%)
CMYKcmyk(73.7%, 42.1%, 0%, 40.4%)
CIE-LABlab(37.29, 6.57, -39.75)
CIE-LCHlch(37.29, 40.29, 279.39°)
OKLaboklab(46.11% -0.0271 -0.1135)
OKLCHoklch(46.11% 0.117 256.6)
XYZxyz(10.0302, 9.6965, 31.0427)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285898 #986828
analogous
#289098 #285898 #302898
triadic
#285898 #982858 #589828
tetradic
#285898 #982890 #986828 #289830
square
#285898 #982890 #986828 #289830
split-complementary
#285898 #983028 #909828
monochromatic
#0F2037 #1B3C68 #285898 #3574C8 #6495D6

Accessibility & contrast

On white

7.14
#285898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#285898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285898
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285898#FFFFFF#000000##FFFFFF
##2858981.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9B
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #285898;
/* rgb */ color: rgb(40, 88, 152);
/* oklch */ color: oklch(46.1% 0.117 256.6);
Tailwind
colors: {
  custom: {
    50: '#7186b7',
    500: '#285898',
    950: '#000000',
  },
}
SCSS
$custom: #285898;
$custom-light: #7186b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285898",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 214.286,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.11673,
    "h": 256.6
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285898

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

Preview Lab → · Contrast checker → · Palette generator →

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