#285291#285291

#285291 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.114 H 258.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#285291
RGBrgb(40, 82, 145)
HSLhsl(216, 57%, 36%)
HSVhsv(216, 72%, 57%)
CMYKcmyk(72.4%, 43.4%, 0%, 43.1%)
CIE-LABlab(35.06, 7.82, -39.08)
CIE-LCHlch(35.06, 39.85, 281.31°)
OKLaboklab(44.25% -0.0228 -0.1117)
OKLCHoklch(44.25% 0.114 258.4)
XYZxyz(9.0013, 8.5291, 27.9545)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285291 #916728
analogous
#288791 #285291 #332891
triadic
#285291 #912852 #529128
tetradic
#285291 #912887 #916728 #289133
square
#285291 #912887 #916728 #289133
split-complementary
#285291 #913328 #879128
monochromatic
#0E1C31 #1B3761 #285291 #356DC1 #608ED3

Accessibility & contrast

On white

7.76
#285291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#285291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285291
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285291#FFFFFF#000000##FFFFFF
##2852911.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345893
Deuteranopia (green-blind)
#224E90
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285291;
/* rgb */ color: rgb(40, 82, 145);
/* oklch */ color: oklch(44.2% 0.114 258.4);
Tailwind
colors: {
  custom: {
    50: '#7082b2',
    500: '#285291',
    950: '#000000',
  },
}
SCSS
$custom: #285291;
$custom-light: #7082b2;
$custom-dark: #000000;
JSON
{
  "hex": "#285291",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 216,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.11397,
    "h": 258.4
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#285291
secondary
#B9945C
accent
#A348E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285291

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

Preview Lab → · Contrast checker → · Palette generator →

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