#284C96#284C96

#284C96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.129 H 262.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#284C96
RGBrgb(40, 76, 150)
HSLhsl(220, 58%, 37%)
HSVhsv(220, 73%, 59%)
CMYKcmyk(73.3%, 49.3%, 0%, 41.2%)
CIE-LABlab(33.61, 13.76, -44.45)
CIE-LCHlch(33.61, 46.53, 287.20°)
OKLaboklab(43.23% -0.0163 -0.1275)
OKLCHoklch(43.23% 0.129 262.7)
XYZxyz(8.9626, 7.8211, 29.8855)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C96 #967228
analogous
#288396 #284C96 #3B2896
triadic
#284C96 #96284C #4C9628
tetradic
#284C96 #962883 #967228 #28963B
square
#284C96 #962883 #967228 #28963B
split-complementary
#284C96 #963B28 #839628
monochromatic
#0E1B35 #1B3466 #284C96 #3564C6 #6388D5

Accessibility & contrast

On white

8.19
#284C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#284C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C96
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C96#FFFFFF#000000##FFFFFF
##284C961.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235499
Deuteranopia (green-blind)
#024A95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284c96;
/* rgb */ color: rgb(40, 76, 150);
/* oklch */ color: oklch(43.2% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#717db5',
    500: '#284c96',
    950: '#000000',
  },
}
SCSS
$custom: #284c96;
$custom-light: #717db5;
$custom-dark: #000000;
JSON
{
  "hex": "#284c96",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 220.364,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4323,
    "c": 0.12858,
    "h": 262.7
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#284C96
secondary
#BB9D5F
accent
#AF47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284C96

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

Preview Lab → · Contrast checker → · Palette generator →

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