#284E91#284E91

#284E91 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.119 H 260.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#284E91
RGBrgb(40, 78, 145)
HSLhsl(218, 57%, 36%)
HSVhsv(218, 72%, 57%)
CMYKcmyk(72.4%, 46.2%, 0%, 43.1%)
CIE-LABlab(33.86, 10.48, -40.99)
CIE-LCHlch(33.86, 42.31, 284.34°)
OKLaboklab(43.32% -0.019 -0.1174)
OKLCHoklch(43.32% 0.119 260.8)
XYZxyz(8.7085, 7.9433, 27.8568)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E91 #916B28
analogous
#288391 #284E91 #372891
triadic
#284E91 #91284E #4E9128
tetradic
#284E91 #912883 #916B28 #289137
square
#284E91 #912883 #916B28 #289137
split-complementary
#284E91 #913728 #839128
monochromatic
#0E1A31 #1B3461 #284E91 #3568C1 #608AD3

Accessibility & contrast

On white

8.11
#284E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#284E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E91
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E91#FFFFFF#000000##FFFFFF
##284E911.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#174B90
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #284e91;
/* rgb */ color: rgb(40, 78, 145);
/* oklch */ color: oklch(43.3% 0.119 260.8);
Tailwind
colors: {
  custom: {
    50: '#707fb2',
    500: '#284e91',
    950: '#000000',
  },
}
SCSS
$custom: #284e91;
$custom-light: #707fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#284e91",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 218.286,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.11888,
    "h": 260.8
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#284E91
secondary
#B9975C
accent
#A948E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #284E91

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

Preview Lab → · Contrast checker → · Palette generator →

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