#285496#285496

#285496 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.119 H 258.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#285496
RGBrgb(40, 84, 150)
HSLhsl(216, 58%, 37%)
HSVhsv(216, 73%, 59%)
CMYKcmyk(73.3%, 44%, 0%, 41.2%)
CIE-LABlab(35.97, 8.42, -40.65)
CIE-LCHlch(35.97, 41.52, 281.71°)
OKLaboklab(45.05% -0.0237 -0.1163)
OKLCHoklch(45.05% 0.119 258.5)
XYZxyz(9.5484, 8.9927, 30.0808)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285496 #966A28
analogous
#288B96 #285496 #332896
triadic
#285496 #962854 #549628
tetradic
#285496 #96288B #966A28 #289633
square
#285496 #96288B #966A28 #289633
split-complementary
#285496 #963328 #8B9628
monochromatic
#0E1E35 #1B3966 #285496 #356FC6 #6391D5

Accessibility & contrast

On white

7.50
#285496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#285496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285496
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285496#FFFFFF#000000##FFFFFF
##2854961.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A99
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285496;
/* rgb */ color: rgb(40, 84, 150);
/* oklch */ color: oklch(45.0% 0.119 258.5);
Tailwind
colors: {
  custom: {
    50: '#7183b5',
    500: '#285496',
    950: '#000000',
  },
}
SCSS
$custom: #285496;
$custom-light: #7183b5;
$custom-dark: #000000;
JSON
{
  "hex": "#285496",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 150
  },
  "hsl": {
    "h": 216,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.11866,
    "h": 258.5
  },
  "luminance": 0.08994
}

Semantic roles & 50–950 ramp

primary
#285496
secondary
#BB965F
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285496

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

Preview Lab → · Contrast checker → · Palette generator →

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