#285A98#285A98

#285A98 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.6% C 0.114 H 255.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#285A98
RGBrgb(40, 90, 152)
HSLhsl(213, 58%, 38%)
HSVhsv(213, 74%, 60%)
CMYKcmyk(73.7%, 40.8%, 0%, 40.4%)
CIE-LABlab(37.90, 5.27, -38.79)
CIE-LCHlch(37.90, 39.15, 277.74°)
OKLaboklab(46.58% -0.0291 -0.1107)
OKLCHoklch(46.58% 0.114 255.3)
XYZxyz(10.1966, 10.0293, 31.0981)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A98 #986628
analogous
#289298 #285A98 #2E2898
triadic
#285A98 #98285A #5A9828
tetradic
#285A98 #982892 #986628 #28982E
square
#285A98 #982892 #986628 #28982E
split-complementary
#285A98 #982E28 #929828
monochromatic
#0F2137 #1B3D68 #285A98 #3577C8 #6497D6

Accessibility & contrast

On white

6.99
#285A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#285A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #285A98
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A98#FFFFFF#000000##FFFFFF
##285A981.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9A
Deuteranopia (green-blind)
#2B5497
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #285a98;
/* rgb */ color: rgb(40, 90, 152);
/* oklch */ color: oklch(46.6% 0.114 255.3);
Tailwind
colors: {
  custom: {
    50: '#7188b7',
    500: '#285a98',
    950: '#000000',
  },
}
SCSS
$custom: #285a98;
$custom-light: #7188b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285a98",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 213.214,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46581,
    "c": 0.11442,
    "h": 255.3
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#285A98
secondary
#BC9360
accent
#9C46E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285A98

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

Preview Lab → · Contrast checker → · Palette generator →

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