#284D88#284D88

#284D88 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.107 H 259.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#284D88
RGBrgb(40, 77, 136)
HSLhsl(217, 55%, 35%)
HSVhsv(217, 71%, 53%)
CMYKcmyk(70.6%, 43.4%, 0%, 46.7%)
CIE-LABlab(33.00, 7.67, -36.87)
CIE-LCHlch(33.00, 37.66, 281.75°)
OKLaboklab(42.47% -0.0198 -0.1053)
OKLCHoklch(42.47% 0.107 259.4)
XYZxyz(7.9713, 7.5356, 24.3222)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D88 #886328
analogous
#287D88 #284D88 #332888
triadic
#284D88 #88284D #4D8828
tetradic
#284D88 #88287D #886328 #288833
square
#284D88 #88287D #886328 #288833
split-complementary
#284D88 #883328 #7D8828
monochromatic
#0C1729 #1A3259 #284D88 #3668B7 #5B88CF

Accessibility & contrast

On white

8.38
#284D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#284D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D88
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D88#FFFFFF#000000##FFFFFF
##284D881.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#214987
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #284d88;
/* rgb */ color: rgb(40, 77, 136);
/* oklch */ color: oklch(42.5% 0.107 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7eab',
    500: '#284d88',
    950: '#000000',
  },
}
SCSS
$custom: #284d88;
$custom-light: #6e7eab;
$custom-dark: #000000;
JSON
{
  "hex": "#284d88",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 136
  },
  "hsl": {
    "h": 216.875,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.10711,
    "h": 259.4
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#284D88
secondary
#B49058
accent
#A54ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284D88

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

Preview Lab → · Contrast checker → · Palette generator →

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