#285090#285090

#285090 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.115 H 259.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#285090
RGBrgb(40, 80, 144)
HSLhsl(217, 57%, 36%)
HSVhsv(217, 72%, 56%)
CMYKcmyk(72.2%, 44.4%, 0%, 43.5%)
CIE-LABlab(34.40, 8.76, -39.53)
CIE-LCHlch(34.40, 40.49, 282.49°)
OKLaboklab(43.71% -0.0211 -0.113)
OKLCHoklch(43.71% 0.115 259.4)
XYZxyz(8.7760, 8.2011, 27.5006)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285090 #906828
analogous
#288490 #285090 #342890
triadic
#285090 #902850 #509028
tetradic
#285090 #902884 #906828 #289034
square
#285090 #902884 #906828 #289034
split-complementary
#285090 #903428 #849028
monochromatic
#0D1B30 #1B3560 #285090 #356BC0 #608CD3

Accessibility & contrast

On white

7.95
#285090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#285090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285090
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285090#FFFFFF#000000##FFFFFF
##2850901.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#1E4C8F
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285090;
/* rgb */ color: rgb(40, 80, 144);
/* oklch */ color: oklch(43.7% 0.115 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f80b1',
    500: '#285090',
    950: '#000000',
  },
}
SCSS
$custom: #285090;
$custom-light: #6f80b1;
$custom-dark: #000000;
JSON
{
  "hex": "#285090",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 144
  },
  "hsl": {
    "h": 216.923,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.11497,
    "h": 259.4
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#285090
secondary
#B8955C
accent
#A548E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285090

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

Preview Lab → · Contrast checker → · Palette generator →

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