#284E89#284E89

#284E89 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.107 H 258.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#284E89
RGBrgb(40, 78, 137)
HSLhsl(216, 55%, 35%)
HSVhsv(216, 71%, 54%)
CMYKcmyk(70.8%, 43.1%, 0%, 46.3%)
CIE-LABlab(33.36, 7.39, -36.91)
CIE-LCHlch(33.36, 37.64, 281.32°)
OKLaboklab(42.77% -0.0206 -0.1053)
OKLCHoklch(42.77% 0.107 258.9)
XYZxyz(8.1132, 7.7052, 24.7217)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E89 #896328
analogous
#287E89 #284E89 #332889
triadic
#284E89 #89284E #4E8928
tetradic
#284E89 #89287E #896328 #288933
square
#284E89 #89287E #896328 #288933
split-complementary
#284E89 #893328 #7E8928
monochromatic
#0C182A #1A335A #284E89 #3669B8 #5C89CF

Accessibility & contrast

On white

8.26
#284E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284E89
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E89#FFFFFF#000000##FFFFFF
##284E891.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284e89;
/* rgb */ color: rgb(40, 78, 137);
/* oklch */ color: oklch(42.8% 0.107 258.9);
Tailwind
colors: {
  custom: {
    50: '#6e7fac',
    500: '#284e89',
    950: '#000000',
  },
}
SCSS
$custom: #284e89;
$custom-light: #6e7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#284e89",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 216.495,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.10734,
    "h": 258.9
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#284E89
secondary
#B59058
accent
#A44ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #284E89

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

Preview Lab → · Contrast checker → · Palette generator →

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