#284F96#284F96

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

Color values

HEX#284F96
RGBrgb(40, 79, 150)
HSLhsl(219, 58%, 37%)
HSVhsv(219, 73%, 59%)
CMYKcmyk(73.3%, 47.3%, 0%, 41.2%)
CIE-LABlab(34.49, 11.74, -43.03)
CIE-LCHlch(34.49, 44.61, 285.26°)
OKLaboklab(43.9% -0.019 -0.1233)
OKLCHoklch(43.9% 0.125 261.2)
XYZxyz(9.1741, 8.2441, 29.9560)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F96 #966F28
analogous
#288696 #284F96 #382896
triadic
#284F96 #96284F #4F9628
tetradic
#284F96 #962886 #966F28 #289638
square
#284F96 #962886 #966F28 #289638
split-complementary
#284F96 #963828 #869628
monochromatic
#0E1C35 #1B3666 #284F96 #3568C6 #638CD5

Accessibility & contrast

On white

7.93
#284F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#284F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F96
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F96#FFFFFF#000000##FFFFFF
##284F961.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5699
Deuteranopia (green-blind)
#114C95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284f96;
/* rgb */ color: rgb(40, 79, 150);
/* oklch */ color: oklch(43.9% 0.125 261.2);
Tailwind
colors: {
  custom: {
    50: '#717fb5',
    500: '#284f96',
    950: '#000000',
  },
}
SCSS
$custom: #284f96;
$custom-light: #717fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284f96",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 218.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.1248,
    "h": 261.2
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#284F96
secondary
#BB9A5F
accent
#AA47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #284F96

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

Preview Lab → · Contrast checker → · Palette generator →

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