#285698#285698

#285698 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.119 H 257.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#285698
RGBrgb(40, 86, 152)
HSLhsl(215, 58%, 38%)
HSVhsv(215, 74%, 60%)
CMYKcmyk(73.7%, 43.4%, 0%, 40.4%)
CIE-LABlab(36.69, 7.88, -40.71)
CIE-LCHlch(36.69, 41.46, 280.96°)
OKLaboklab(45.65% -0.0252 -0.1164)
OKLCHoklch(45.65% 0.119 257.8)
XYZxyz(9.8683, 9.3726, 30.9887)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285698 #986A28
analogous
#288E98 #285698 #322898
triadic
#285698 #982856 #569828
tetradic
#285698 #98288E #986A28 #289832
square
#285698 #98288E #986A28 #289832
split-complementary
#285698 #983228 #8E9828
monochromatic
#0F1F37 #1B3B68 #285698 #3571C8 #6493D6

Accessibility & contrast

On white

7.30
#285698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#285698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285698
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285698#FFFFFF#000000##FFFFFF
##2856981.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#225297
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #285698;
/* rgb */ color: rgb(40, 86, 152);
/* oklch */ color: oklch(45.6% 0.119 257.8);
Tailwind
colors: {
  custom: {
    50: '#7185b7',
    500: '#285698',
    950: '#000000',
  },
}
SCSS
$custom: #285698;
$custom-light: #7185b7;
$custom-dark: #000000;
JSON
{
  "hex": "#285698",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 215.357,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.11908,
    "h": 257.8
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285698

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

Preview Lab → · Contrast checker → · Palette generator →

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