#284D82#284D82

#284D82 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.1% C 0.098 H 257.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#284D82
RGBrgb(40, 77, 130)
HSLhsl(215, 53%, 33%)
HSVhsv(215, 69%, 51%)
CMYKcmyk(69.2%, 40.8%, 0%, 49%)
CIE-LABlab(32.63, 5.37, -33.75)
CIE-LCHlch(32.63, 34.18, 279.04°)
OKLaboklab(42.07% -0.0212 -0.0961)
OKLCHoklch(42.07% 0.098 257.6)
XYZxyz(7.5568, 7.3698, 22.1390)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D82 #825D28
analogous
#287A82 #284D82 #302882
triadic
#284D82 #82284D #4D8228
tetradic
#284D82 #82287A #825D28 #288230
square
#284D82 #82287A #825D28 #288230
split-complementary
#284D82 #823028 #7A8228
monochromatic
#0B1624 #1A3153 #284D82 #3669B1 #5988CC

Accessibility & contrast

On white

8.49
#284D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#284D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D82
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D82#FFFFFF#000000##FFFFFF
##284D821.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#284981
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284d82;
/* rgb */ color: rgb(40, 77, 130);
/* oklch */ color: oklch(42.1% 0.098 257.6);
Tailwind
colors: {
  custom: {
    50: '#6d7ea6',
    500: '#284d82',
    950: '#000000',
  },
}
SCSS
$custom: #284d82;
$custom-light: #6d7ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#284d82",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 215.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.09841,
    "h": 257.6
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#284D82
secondary
#B18B55
accent
#A14BDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284D82

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

Preview Lab → · Contrast checker → · Palette generator →

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