#284E99#284E99

#284E99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.130 H 262.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#284E99
RGBrgb(40, 78, 153)
HSLhsl(220, 59%, 38%)
HSVhsv(220, 74%, 60%)
CMYKcmyk(73.9%, 49%, 0%, 40%)
CIE-LABlab(34.39, 13.58, -45.00)
CIE-LCHlch(34.39, 47.00, 286.79°)
OKLaboklab(43.9% -0.0176 -0.1291)
OKLCHoklch(43.9% 0.13 262.2)
XYZxyz(9.3472, 8.1988, 31.2207)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E99 #997328
analogous
#288699 #284E99 #3A2899
triadic
#284E99 #99284E #4E9928
tetradic
#284E99 #992886 #997328 #28993A
square
#284E99 #992886 #997328 #28993A
split-complementary
#284E99 #993A28 #869928
monochromatic
#0F1D38 #1B3568 #284E99 #3567CA #658BD7

Accessibility & contrast

On white

7.95
#284E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#284E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E99
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E99#FFFFFF#000000##FFFFFF
##284E991.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569C
Deuteranopia (green-blind)
#024C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284e99;
/* rgb */ color: rgb(40, 78, 153);
/* oklch */ color: oklch(43.9% 0.130 262.2);
Tailwind
colors: {
  custom: {
    50: '#717fb7',
    500: '#284e99',
    950: '#000000',
  },
}
SCSS
$custom: #284e99;
$custom-light: #717fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#284e99",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 219.823,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.13034,
    "h": 262.2
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#284E99
secondary
#BD9E60
accent
#AD46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #284E99

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

Preview Lab → · Contrast checker → · Palette generator →

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