#284D85#284D85

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

Color values

HEX#284D85
RGBrgb(40, 77, 133)
HSLhsl(216, 54%, 34%)
HSVhsv(216, 70%, 52%)
CMYKcmyk(69.9%, 42.1%, 0%, 47.8%)
CIE-LABlab(32.81, 6.52, -35.32)
CIE-LCHlch(32.81, 35.92, 280.45°)
OKLaboklab(42.27% -0.0204 -0.1007)
OKLCHoklch(42.27% 0.103 258.5)
XYZxyz(7.7611, 7.4515, 23.2150)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D85 #856028
analogous
#287C85 #284D85 #322885
triadic
#284D85 #85284D #4D8528
tetradic
#284D85 #85287C #856028 #288532
square
#284D85 #85287C #856028 #288532
split-complementary
#284D85 #853228 #7C8528
monochromatic
#0C1727 #1A3256 #284D85 #3668B4 #5A88CD

Accessibility & contrast

On white

8.43
#284D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#284D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D85
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D85#FFFFFF#000000##FFFFFF
##284D851.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284d85;
/* rgb */ color: rgb(40, 77, 133);
/* oklch */ color: oklch(42.3% 0.103 258.5);
Tailwind
colors: {
  custom: {
    50: '#6d7ea9',
    500: '#284d85',
    950: '#000000',
  },
}
SCSS
$custom: #284d85;
$custom-light: #6d7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#284d85",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 133
  },
  "hsl": {
    "h": 216.129,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.10277,
    "h": 258.5
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#284D85
secondary
#B38E56
accent
#A34BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284D85

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

Preview Lab → · Contrast checker → · Palette generator →

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