#284A88#284A88

#284A88 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.111 H 261.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#284A88
RGBrgb(40, 74, 136)
HSLhsl(219, 55%, 35%)
HSVhsv(219, 71%, 53%)
CMYKcmyk(70.6%, 45.6%, 0%, 46.7%)
CIE-LABlab(32.09, 9.68, -38.32)
CIE-LCHlch(32.09, 39.53, 284.17°)
OKLaboklab(41.77% -0.0167 -0.1096)
OKLCHoklch(41.77% 0.111 261.3)
XYZxyz(7.7662, 7.1255, 24.2538)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A88 #886628
analogous
#287A88 #284A88 #362888
triadic
#284A88 #88284A #4A8828
tetradic
#284A88 #88287A #886628 #288836
square
#284A88 #88287A #886628 #288836
split-complementary
#284A88 #883628 #7A8828
monochromatic
#0C1729 #1A3059 #284A88 #3664B7 #5B84CF

Accessibility & contrast

On white

8.66
#284A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284A88
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A88#FFFFFF#000000##FFFFFF
##284A881.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#1A4787
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284a88;
/* rgb */ color: rgb(40, 74, 136);
/* oklch */ color: oklch(41.8% 0.111 261.3);
Tailwind
colors: {
  custom: {
    50: '#6e7cab',
    500: '#284a88',
    950: '#000000',
  },
}
SCSS
$custom: #284a88;
$custom-light: #6e7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#284a88",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 136
  },
  "hsl": {
    "h": 218.75,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.11084,
    "h": 261.3
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#284A88
secondary
#B49358
accent
#A94ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284A88

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

Preview Lab → · Contrast checker → · Palette generator →

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