#284F99#284F99

#284F99 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.129 H 261.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#284F99
RGBrgb(40, 79, 153)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 74%, 60%)
CMYKcmyk(73.9%, 48.4%, 0%, 40%)
CIE-LABlab(34.69, 12.91, -44.53)
CIE-LCHlch(34.69, 46.36, 286.17°)
OKLaboklab(44.12% -0.0185 -0.1277)
OKLCHoklch(44.12% 0.129 261.7)
XYZxyz(9.4188, 8.3420, 31.2446)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F99 #997228
analogous
#288799 #284F99 #392899
triadic
#284F99 #99284F #4F9928
tetradic
#284F99 #992887 #997228 #289939
square
#284F99 #992887 #997228 #289939
split-complementary
#284F99 #993928 #879928
monochromatic
#0F1D38 #1B3668 #284F99 #3568CA #658CD7

Accessibility & contrast

On white

7.87
#284F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#284F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F99
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F99#FFFFFF#000000##FFFFFF
##284F991.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#084D98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #284f99;
/* rgb */ color: rgb(40, 79, 153);
/* oklch */ color: oklch(44.1% 0.129 261.7);
Tailwind
colors: {
  custom: {
    50: '#717fb7',
    500: '#284f99',
    950: '#000000',
  },
}
SCSS
$custom: #284f99;
$custom-light: #717fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#284f99",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 219.292,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.12908,
    "h": 261.7
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#284F99
secondary
#BD9D60
accent
#AC46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #284F99

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

Preview Lab → · Contrast checker → · Palette generator →

#284F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva