#285699#285699

#285699 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.120 H 258.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#285699
RGBrgb(40, 86, 153)
HSLhsl(216, 59%, 38%)
HSVhsv(216, 74%, 60%)
CMYKcmyk(73.9%, 43.8%, 0%, 40%)
CIE-LABlab(36.75, 8.27, -41.21)
CIE-LCHlch(36.75, 42.03, 281.34°)
OKLaboklab(45.72% -0.025 -0.1179)
OKLCHoklch(45.72% 0.12 258)
XYZxyz(9.9505, 9.4055, 31.4218)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285699 #996B28
analogous
#288E99 #285699 #322899
triadic
#285699 #992856 #569928
tetradic
#285699 #99288E #996B28 #289932
square
#285699 #99288E #996B28 #289932
split-complementary
#285699 #993228 #8E9928
monochromatic
#0F1F38 #1B3B68 #285699 #3571CA #6593D7

Accessibility & contrast

On white

7.29
#285699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#285699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285699
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285699#FFFFFF#000000##FFFFFF
##2856991.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285699;
/* rgb */ color: rgb(40, 86, 153);
/* oklch */ color: oklch(45.7% 0.120 258.0);
Tailwind
colors: {
  custom: {
    50: '#7185b7',
    500: '#285699',
    950: '#000000',
  },
}
SCSS
$custom: #285699;
$custom-light: #7185b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285699",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 215.575,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.12048,
    "h": 258
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#285699
secondary
#BD9760
accent
#A246E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #285699

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

Preview Lab → · Contrast checker → · Palette generator →

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