#284A84#284A84

#284A84 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.105 H 260.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#284A84
RGBrgb(40, 74, 132)
HSLhsl(218, 53%, 34%)
HSVhsv(218, 70%, 52%)
CMYKcmyk(69.7%, 43.9%, 0%, 48.2%)
CIE-LABlab(31.84, 8.14, -36.26)
CIE-LCHlch(31.84, 37.16, 282.65°)
OKLaboklab(41.49% -0.0175 -0.1035)
OKLCHoklch(41.49% 0.105 260.4)
XYZxyz(7.4872, 7.0139, 22.7846)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A84 #846228
analogous
#287884 #284A84 #342884
triadic
#284A84 #84284A #4A8428
tetradic
#284A84 #842878 #846228 #288434
square
#284A84 #842878 #846228 #288434
split-complementary
#284A84 #843428 #788428
monochromatic
#0C1526 #1A3055 #284A84 #3664B3 #5A84CD

Accessibility & contrast

On white

8.74
#284A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#284A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A84
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A84#FFFFFF#000000##FFFFFF
##284A841.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F86
Deuteranopia (green-blind)
#204783
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284a84;
/* rgb */ color: rgb(40, 74, 132);
/* oklch */ color: oklch(41.5% 0.105 260.4);
Tailwind
colors: {
  custom: {
    50: '#6d7ca8',
    500: '#284a84',
    950: '#000000',
  },
}
SCSS
$custom: #284a84;
$custom-light: #6d7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#284a84",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 132
  },
  "hsl": {
    "h": 217.826,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.10499,
    "h": 260.4
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#284A84
secondary
#B29056
accent
#A74BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284A84

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

Preview Lab → · Contrast checker → · Palette generator →

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