#284A89#284A89

#284A89 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.112 H 261.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#284A89
RGBrgb(40, 74, 137)
HSLhsl(219, 55%, 35%)
HSVhsv(219, 71%, 54%)
CMYKcmyk(70.8%, 46%, 0%, 46.3%)
CIE-LABlab(32.16, 10.07, -38.84)
CIE-LCHlch(32.16, 40.12, 284.53°)
OKLaboklab(41.84% -0.0165 -0.1111)
OKLCHoklch(41.84% 0.112 261.5)
XYZxyz(7.8376, 7.1540, 24.6299)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A89 #896728
analogous
#287B89 #284A89 #372889
triadic
#284A89 #89284A #4A8928
tetradic
#284A89 #89287B #896728 #288937
square
#284A89 #89287B #896728 #288937
split-complementary
#284A89 #893728 #7B8928
monochromatic
#0C172A #1A305A #284A89 #3664B8 #5C84CF

Accessibility & contrast

On white

8.64
#284A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#284A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A89
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A89#FFFFFF#000000##FFFFFF
##284A891.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#194788
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284a89;
/* rgb */ color: rgb(40, 74, 137);
/* oklch */ color: oklch(41.8% 0.112 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7cac',
    500: '#284a89',
    950: '#000000',
  },
}
SCSS
$custom: #284a89;
$custom-light: #6e7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#284a89",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 218.969,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.11231,
    "h": 261.5
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#284A89
secondary
#B59458
accent
#AA4ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284A89

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

Preview Lab → · Contrast checker → · Palette generator →

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