#285497#285497

#285497 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.120 H 258.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#285497
RGBrgb(40, 84, 151)
HSLhsl(216, 58%, 37%)
HSVhsv(216, 74%, 59%)
CMYKcmyk(73.5%, 44.4%, 0%, 40.8%)
CIE-LABlab(36.03, 8.81, -41.16)
CIE-LCHlch(36.03, 42.09, 282.08°)
OKLaboklab(45.12% -0.0235 -0.1177)
OKLCHoklch(45.12% 0.12 258.7)
XYZxyz(9.6293, 9.0251, 30.5067)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285497 #976B28
analogous
#288C97 #285497 #332897
triadic
#285497 #972854 #549728
tetradic
#285497 #97288C #976B28 #289733
square
#285497 #97288C #976B28 #289733
split-complementary
#285497 #973328 #8C9728
monochromatic
#0E1E36 #1B3967 #285497 #356FC7 #6491D6

Accessibility & contrast

On white

7.49
#285497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#285497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285497
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285497#FFFFFF#000000##FFFFFF
##2854971.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285497;
/* rgb */ color: rgb(40, 84, 151);
/* oklch */ color: oklch(45.1% 0.120 258.7);
Tailwind
colors: {
  custom: {
    50: '#7183b6',
    500: '#285497',
    950: '#000000',
  },
}
SCSS
$custom: #285497;
$custom-light: #7183b6;
$custom-dark: #000000;
JSON
{
  "hex": "#285497",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 216.216,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.12007,
    "h": 258.7
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#285497
secondary
#BC975F
accent
#A446E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #285497

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

Preview Lab → · Contrast checker → · Palette generator →

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