#284F88#284F88

#284F88 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.105 H 258.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#284F88
RGBrgb(40, 79, 136)
HSLhsl(216, 55%, 35%)
HSVhsv(216, 71%, 53%)
CMYKcmyk(70.6%, 41.9%, 0%, 46.7%)
CIE-LABlab(33.60, 6.34, -35.90)
CIE-LCHlch(33.60, 36.46, 280.01°)
OKLaboklab(42.94% -0.0218 -0.1024)
OKLCHoklch(42.94% 0.105 258)
XYZxyz(8.1134, 7.8198, 24.3696)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F88 #886128
analogous
#287F88 #284F88 #312888
triadic
#284F88 #88284F #4F8828
tetradic
#284F88 #88287F #886128 #288831
square
#284F88 #88287F #886128 #288831
split-complementary
#284F88 #883128 #7F8828
monochromatic
#0C1829 #1A3459 #284F88 #366AB7 #5B8ACF

Accessibility & contrast

On white

8.19
#284F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#284F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F88
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F88#FFFFFF#000000##FFFFFF
##284F881.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#264B87
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284f88;
/* rgb */ color: rgb(40, 79, 136);
/* oklch */ color: oklch(42.9% 0.105 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fab',
    500: '#284f88',
    950: '#000000',
  },
}
SCSS
$custom: #284f88;
$custom-light: #6e7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#284f88",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 136
  },
  "hsl": {
    "h": 215.625,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.10469,
    "h": 258
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284F88

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

Preview Lab → · Contrast checker → · Palette generator →

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