#284D86#284D86

#284D86 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.104 H 258.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#284D86
RGBrgb(40, 77, 134)
HSLhsl(216, 54%, 34%)
HSVhsv(216, 70%, 53%)
CMYKcmyk(70.1%, 42.5%, 0%, 47.5%)
CIE-LABlab(32.87, 6.90, -35.84)
CIE-LCHlch(32.87, 36.50, 280.90°)
OKLaboklab(42.33% -0.0202 -0.1022)
OKLCHoklch(42.33% 0.104 258.8)
XYZxyz(7.8305, 7.4793, 23.5806)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D86 #866128
analogous
#287C86 #284D86 #322886
triadic
#284D86 #86284D #4D8628
tetradic
#284D86 #86287C #866128 #288632
square
#284D86 #86287C #866128 #288632
split-complementary
#284D86 #863228 #7C8628
monochromatic
#0C1728 #1A3257 #284D86 #3668B5 #5B88CE

Accessibility & contrast

On white

8.41
#284D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#284D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D86
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D86#FFFFFF#000000##FFFFFF
##284D861.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335288
Deuteranopia (green-blind)
#244985
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284d86;
/* rgb */ color: rgb(40, 77, 134);
/* oklch */ color: oklch(42.3% 0.104 258.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ea9',
    500: '#284d86',
    950: '#000000',
  },
}
SCSS
$custom: #284d86;
$custom-light: #6d7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#284d86",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 134
  },
  "hsl": {
    "h": 216.383,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42333,
    "c": 0.10421,
    "h": 258.8
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#284D86
secondary
#B38F57
accent
#A44ADD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284D86

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

Preview Lab → · Contrast checker → · Palette generator →

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