#284E86#284E86

#284E86 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.103 H 258.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#284E86
RGBrgb(40, 78, 134)
HSLhsl(216, 54%, 34%)
HSVhsv(216, 70%, 53%)
CMYKcmyk(70.1%, 41.8%, 0%, 47.5%)
CIE-LABlab(33.18, 6.24, -35.35)
CIE-LCHlch(33.18, 35.90, 280.00°)
OKLaboklab(42.57% -0.0213 -0.1008)
OKLCHoklch(42.57% 0.103 258.1)
XYZxyz(7.9010, 7.6203, 23.6041)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E86 #866028
analogous
#287D86 #284E86 #312886
triadic
#284E86 #86284E #4E8628
tetradic
#284E86 #86287D #866028 #288631
square
#284E86 #86287D #866028 #288631
split-complementary
#284E86 #863128 #7D8628
monochromatic
#0C1728 #1A3357 #284E86 #3669B5 #5B89CE

Accessibility & contrast

On white

8.32
#284E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#284E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E86
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E86#FFFFFF#000000##FFFFFF
##284E861.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284e86;
/* rgb */ color: rgb(40, 78, 134);
/* oklch */ color: oklch(42.6% 0.103 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fa9',
    500: '#284e86',
    950: '#000000',
  },
}
SCSS
$custom: #284e86;
$custom-light: #6d7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#284e86",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 215.745,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.10301,
    "h": 258.1
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#284E86
secondary
#B38E57
accent
#A24ADD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #284E86

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

Preview Lab → · Contrast checker → · Palette generator →

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