#284E96#284E96

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

Color values

HEX#284E96
RGBrgb(40, 78, 150)
HSLhsl(219, 58%, 37%)
HSVhsv(219, 73%, 59%)
CMYKcmyk(73.3%, 48%, 0%, 41.2%)
CIE-LABlab(34.19, 12.41, -43.51)
CIE-LCHlch(34.19, 45.24, 285.92°)
OKLaboklab(43.68% -0.0181 -0.1247)
OKLCHoklch(43.68% 0.126 261.7)
XYZxyz(9.1025, 8.1009, 29.9322)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E96 #967028
analogous
#288596 #284E96 #392896
triadic
#284E96 #96284E #4E9628
tetradic
#284E96 #962885 #967028 #289639
square
#284E96 #962885 #967028 #289639
split-complementary
#284E96 #963928 #859628
monochromatic
#0E1C35 #1B3566 #284E96 #3567C6 #638BD5

Accessibility & contrast

On white

8.01
#284E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#284E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E96
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E96#FFFFFF#000000##FFFFFF
##284E961.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284e96;
/* rgb */ color: rgb(40, 78, 150);
/* oklch */ color: oklch(43.7% 0.126 261.7);
Tailwind
colors: {
  custom: {
    50: '#717fb5',
    500: '#284e96',
    950: '#000000',
  },
}
SCSS
$custom: #284e96;
$custom-light: #717fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284e96",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 219.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.12606,
    "h": 261.7
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#284E96
secondary
#BB9B5F
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #284E96

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

Preview Lab → · Contrast checker → · Palette generator →

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