#285595#285595

#285595 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.116 H 257.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#285595
RGBrgb(40, 85, 149)
HSLhsl(215, 58%, 37%)
HSVhsv(215, 73%, 58%)
CMYKcmyk(73.2%, 43%, 0%, 41.6%)
CIE-LABlab(36.21, 7.38, -39.67)
CIE-LCHlch(36.21, 40.35, 280.54°)
OKLaboklab(45.21% -0.0249 -0.1133)
OKLCHoklch(45.21% 0.116 257.6)
XYZxyz(9.5464, 9.1170, 29.6846)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285595 #956828
analogous
#288C95 #285595 #312895
triadic
#285595 #952855 #559528
tetradic
#285595 #95288C #956828 #289531
square
#285595 #95288C #956828 #289531
split-complementary
#285595 #953128 #8C9528
monochromatic
#0E1E35 #1B3965 #285595 #3571C5 #6292D5

Accessibility & contrast

On white

7.44
#285595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#285595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285595
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285595#FFFFFF#000000##FFFFFF
##2855951.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B97
Deuteranopia (green-blind)
#245194
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285595;
/* rgb */ color: rgb(40, 85, 149);
/* oklch */ color: oklch(45.2% 0.116 257.6);
Tailwind
colors: {
  custom: {
    50: '#7084b4',
    500: '#285595',
    950: '#000000',
  },
}
SCSS
$custom: #285595;
$custom-light: #7084b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285595",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 149
  },
  "hsl": {
    "h": 215.229,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.11605,
    "h": 257.6
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#285595
secondary
#BB945E
accent
#A147E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285595

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

Preview Lab → · Contrast checker → · Palette generator →

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