#285597#285597

#285597 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.3% C 0.119 H 258.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#285597
RGBrgb(40, 85, 151)
HSLhsl(216, 58%, 37%)
HSVhsv(216, 74%, 59%)
CMYKcmyk(73.5%, 43.7%, 0%, 40.8%)
CIE-LABlab(36.33, 8.15, -40.68)
CIE-LCHlch(36.33, 41.49, 281.33°)
OKLaboklab(45.35% -0.0245 -0.1163)
OKLCHoklch(45.35% 0.119 258.1)
XYZxyz(9.7075, 9.1814, 30.5327)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285597 #976A28
analogous
#288C97 #285597 #332897
triadic
#285597 #972855 #559728
tetradic
#285597 #97288C #976A28 #289733
square
#285597 #97288C #976A28 #289733
split-complementary
#285597 #973328 #8C9728
monochromatic
#0E1F36 #1B3A67 #285597 #3570C7 #6492D6

Accessibility & contrast

On white

7.40
#285597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#285597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285597
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285597#FFFFFF#000000##FFFFFF
##2855971.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#215196
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285597;
/* rgb */ color: rgb(40, 85, 151);
/* oklch */ color: oklch(45.3% 0.119 258.1);
Tailwind
colors: {
  custom: {
    50: '#7184b6',
    500: '#285597',
    950: '#000000',
  },
}
SCSS
$custom: #285597;
$custom-light: #7184b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285597",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 215.676,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.11887,
    "h": 258.1
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#285597
secondary
#BC965F
accent
#A346E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285597

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

Preview Lab → · Contrast checker → · Palette generator →

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