#284F89#284F89

#284F89 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.106 H 258.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#284F89
RGBrgb(40, 79, 137)
HSLhsl(216, 55%, 35%)
HSVhsv(216, 71%, 54%)
CMYKcmyk(70.8%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.67, 6.72, -36.42)
CIE-LCHlch(33.67, 37.04, 280.46°)
OKLaboklab(43.01% -0.0216 -0.1039)
OKLCHoklch(43.01% 0.106 258.3)
XYZxyz(8.1848, 7.8484, 24.7456)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F89 #896228
analogous
#288089 #284F89 #312889
triadic
#284F89 #89284F #4F8928
tetradic
#284F89 #892880 #896228 #288931
square
#284F89 #892880 #896228 #288931
split-complementary
#284F89 #893128 #808928
monochromatic
#0C182A #1A345A #284F89 #366AB8 #5C8ACF

Accessibility & contrast

On white

8.17
#284F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#284F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F89
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F89#FFFFFF#000000##FFFFFF
##284F891.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284f89;
/* rgb */ color: rgb(40, 79, 137);
/* oklch */ color: oklch(43.0% 0.106 258.3);
Tailwind
colors: {
  custom: {
    50: '#6e7fac',
    500: '#284f89',
    950: '#000000',
  },
}
SCSS
$custom: #284f89;
$custom-light: #6e7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#284f89",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 215.876,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.10613,
    "h": 258.3
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#284F89
secondary
#B58F58
accent
#A24ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #284F89

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

Preview Lab → · Contrast checker → · Palette generator →

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