#285088#285088

#285088 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.104 H 257.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#285088
RGBrgb(40, 80, 136)
HSLhsl(215, 55%, 35%)
HSVhsv(215, 71%, 53%)
CMYKcmyk(70.6%, 41.2%, 0%, 46.7%)
CIE-LABlab(33.91, 5.68, -35.42)
CIE-LCHlch(33.91, 35.87, 279.11°)
OKLaboklab(43.18% -0.0229 -0.1009)
OKLCHoklch(43.18% 0.104 257.2)
XYZxyz(8.1861, 7.9652, 24.3938)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285088 #886028
analogous
#288088 #285088 #302888
triadic
#285088 #882850 #508828
tetradic
#285088 #882880 #886028 #288830
square
#285088 #882880 #886028 #288830
split-complementary
#285088 #883028 #808828
monochromatic
#0C1829 #1A3459 #285088 #366CB7 #5B8CCF

Accessibility & contrast

On white

8.10
#285088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#285088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285088
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285088#FFFFFF#000000##FFFFFF
##2850881.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558A
Deuteranopia (green-blind)
#274C87
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285088;
/* rgb */ color: rgb(40, 80, 136);
/* oklch */ color: oklch(43.2% 0.104 257.2);
Tailwind
colors: {
  custom: {
    50: '#6e80ab',
    500: '#285088',
    950: '#000000',
  },
}
SCSS
$custom: #285088;
$custom-light: #6e80ab;
$custom-dark: #000000;
JSON
{
  "hex": "#285088",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 136
  },
  "hsl": {
    "h": 215,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.10351,
    "h": 257.2
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#285088
secondary
#B48E58
accent
#A04ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #285088

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

Preview Lab → · Contrast checker → · Palette generator →

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