#284987#284987

#284987 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.111 H 261.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#284987
RGBrgb(40, 73, 135)
HSLhsl(219, 54%, 34%)
HSVhsv(219, 70%, 53%)
CMYKcmyk(70.4%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.73, 9.97, -38.29)
CIE-LCHlch(31.73, 39.57, 284.59°)
OKLaboklab(41.47% -0.0159 -0.1095)
OKLCHoklch(41.47% 0.111 261.7)
XYZxyz(7.6292, 6.9647, 23.8592)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284987 #876628
analogous
#287987 #284987 #372887
triadic
#284987 #872849 #498728
tetradic
#284987 #872879 #876628 #288737
square
#284987 #872879 #876628 #288737
split-complementary
#284987 #873728 #798728
monochromatic
#0C1629 #1A2F58 #284987 #3663B6 #5B83CE

Accessibility & contrast

On white

8.78
#284987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#284987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284987
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284987#FFFFFF#000000##FFFFFF
##2849871.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#194786
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284987;
/* rgb */ color: rgb(40, 73, 135);
/* oklch */ color: oklch(41.5% 0.111 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7baa',
    500: '#284987',
    950: '#000000',
  },
}
SCSS
$custom: #284987;
$custom-light: #6e7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#284987",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 219.158,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.11064,
    "h": 261.7
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#284987
secondary
#B49457
accent
#AA4ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284987

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

Preview Lab → · Contrast checker → · Palette generator →

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