#284D99#284D99

#284D99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.132 H 262.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#284D99
RGBrgb(40, 77, 153)
HSLhsl(220, 59%, 38%)
HSVhsv(220, 74%, 60%)
CMYKcmyk(73.9%, 49.7%, 0%, 40%)
CIE-LABlab(34.10, 14.25, -45.47)
CIE-LCHlch(34.10, 47.65, 287.40°)
OKLaboklab(43.68% -0.0167 -0.1305)
OKLCHoklch(43.68% 0.132 262.7)
XYZxyz(9.2767, 8.0578, 31.1972)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D99 #997428
analogous
#288599 #284D99 #3B2899
triadic
#284D99 #99284D #4D9928
tetradic
#284D99 #992885 #997428 #28993B
square
#284D99 #992885 #997428 #28993B
split-complementary
#284D99 #993B28 #859928
monochromatic
#0F1C38 #1B3568 #284D99 #3565CA #658AD7

Accessibility & contrast

On white

8.04
#284D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#284D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D99
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D99#FFFFFF#000000##FFFFFF
##284D991.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284d99;
/* rgb */ color: rgb(40, 77, 153);
/* oklch */ color: oklch(43.7% 0.132 262.7);
Tailwind
colors: {
  custom: {
    50: '#717eb8',
    500: '#284d99',
    950: '#000000',
  },
}
SCSS
$custom: #284d99;
$custom-light: #717eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#284d99",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 220.354,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.1316,
    "h": 262.7
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#284D99
secondary
#BD9E60
accent
#AF46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284D99

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

Preview Lab → · Contrast checker → · Palette generator →

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