#285598#285598

#285598 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.4% C 0.120 H 258.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#285598
RGBrgb(40, 85, 152)
HSLhsl(216, 58%, 38%)
HSVhsv(216, 74%, 60%)
CMYKcmyk(73.7%, 44.1%, 0%, 40.4%)
CIE-LABlab(36.39, 8.54, -41.19)
CIE-LCHlch(36.39, 42.06, 281.71°)
OKLaboklab(45.42% -0.0243 -0.1178)
OKLCHoklch(45.42% 0.12 258.4)
XYZxyz(9.7890, 9.2140, 30.9623)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285598 #986B28
analogous
#288D98 #285598 #332898
triadic
#285598 #982855 #559828
tetradic
#285598 #98288D #986B28 #289833
square
#285598 #98288D #986B28 #289833
split-complementary
#285598 #983328 #8D9828
monochromatic
#0F1F37 #1B3A68 #285598 #3570C8 #6492D6

Accessibility & contrast

On white

7.39
#285598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285598
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285598#FFFFFF#000000##FFFFFF
##2855981.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9B
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285598;
/* rgb */ color: rgb(40, 85, 152);
/* oklch */ color: oklch(45.4% 0.120 258.4);
Tailwind
colors: {
  custom: {
    50: '#7184b7',
    500: '#285598',
    950: '#000000',
  },
}
SCSS
$custom: #285598;
$custom-light: #7184b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285598",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 152
  },
  "hsl": {
    "h": 215.893,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.12027,
    "h": 258.4
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#285598
secondary
#BC9760
accent
#A346E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285598

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

Preview Lab → · Contrast checker → · Palette generator →

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