#284D89#284D89

#284D89 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.109 H 259.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#284D89
RGBrgb(40, 77, 137)
HSLhsl(217, 55%, 35%)
HSVhsv(217, 71%, 54%)
CMYKcmyk(70.8%, 43.8%, 0%, 46.3%)
CIE-LABlab(33.06, 8.05, -37.39)
CIE-LCHlch(33.06, 38.25, 282.16°)
OKLaboklab(42.54% -0.0196 -0.1068)
OKLCHoklch(42.54% 0.109 259.6)
XYZxyz(8.0427, 7.5642, 24.6982)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D89 #896428
analogous
#287E89 #284D89 #332889
triadic
#284D89 #89284D #4D8928
tetradic
#284D89 #89287E #896428 #288933
square
#284D89 #89287E #896428 #288933
split-complementary
#284D89 #893328 #7E8928
monochromatic
#0C182A #1A325A #284D89 #3668B8 #5C88CF

Accessibility & contrast

On white

8.36
#284D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#284D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D89
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D89#FFFFFF#000000##FFFFFF
##284D891.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538B
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284d89;
/* rgb */ color: rgb(40, 77, 137);
/* oklch */ color: oklch(42.5% 0.109 259.6);
Tailwind
colors: {
  custom: {
    50: '#6e7eac',
    500: '#284d89',
    950: '#000000',
  },
}
SCSS
$custom: #284d89;
$custom-light: #6e7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#284d89",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 217.113,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.10857,
    "h": 259.6
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#284D89
secondary
#B59158
accent
#A64ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284D89

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

Preview Lab → · Contrast checker → · Palette generator →

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