#284E88#284E88

#284E88 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.106 H 258.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#284E88
RGBrgb(40, 78, 136)
HSLhsl(216, 55%, 35%)
HSVhsv(216, 71%, 53%)
CMYKcmyk(70.6%, 42.6%, 0%, 46.7%)
CIE-LABlab(33.30, 7.00, -36.39)
CIE-LCHlch(33.30, 37.06, 280.89°)
OKLaboklab(42.7% -0.0208 -0.1038)
OKLCHoklch(42.7% 0.106 258.7)
XYZxyz(8.0418, 7.6766, 24.3457)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E88 #886228
analogous
#287E88 #284E88 #322888
triadic
#284E88 #88284E #4E8828
tetradic
#284E88 #88287E #886228 #288832
square
#284E88 #88287E #886228 #288832
split-complementary
#284E88 #883228 #7E8828
monochromatic
#0C1829 #1A3359 #284E88 #3669B7 #5B89CF

Accessibility & contrast

On white

8.28
#284E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#284E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E88
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E88#FFFFFF#000000##FFFFFF
##284E881.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#244A87
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284e88;
/* rgb */ color: rgb(40, 78, 136);
/* oklch */ color: oklch(42.7% 0.106 258.7);
Tailwind
colors: {
  custom: {
    50: '#6e7fab',
    500: '#284e88',
    950: '#000000',
  },
}
SCSS
$custom: #284e88;
$custom-light: #6e7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#284e88",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 216.25,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42702,
    "c": 0.10589,
    "h": 258.7
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#284E88
secondary
#B49058
accent
#A34ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #284E88

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

Preview Lab → · Contrast checker → · Palette generator →

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