#284B84#284B84

#284B84 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.104 H 259.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#284B84
RGBrgb(40, 75, 132)
HSLhsl(217, 53%, 34%)
HSVhsv(217, 70%, 52%)
CMYKcmyk(69.7%, 43.2%, 0%, 48.2%)
CIE-LABlab(32.14, 7.47, -35.77)
CIE-LCHlch(32.14, 36.54, 281.79°)
OKLaboklab(41.73% -0.0186 -0.1021)
OKLCHoklch(41.73% 0.104 259.7)
XYZxyz(7.5545, 7.1485, 22.8070)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B84 #846128
analogous
#287984 #284B84 #332884
triadic
#284B84 #84284B #4B8428
tetradic
#284B84 #842879 #846128 #288433
square
#284B84 #842879 #846128 #288433
split-complementary
#284B84 #843328 #798428
monochromatic
#0C1626 #1A3055 #284B84 #3666B3 #5A85CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284B84#FFFFFF#000000##FFFFFF
##284B841.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)
#305086
Deuteranopia (green-blind)
#224883
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284b84;
/* rgb */ color: rgb(40, 75, 132);
/* oklch */ color: oklch(41.7% 0.104 259.7);
Tailwind
colors: {
  custom: {
    50: '#6d7ca8',
    500: '#284b84',
    950: '#000000',
  },
}
SCSS
$custom: #284b84;
$custom-light: #6d7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#284b84",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 132
  },
  "hsl": {
    "h": 217.174,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.10375,
    "h": 259.7
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#284B84
secondary
#B28F56
accent
#A54BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284B84

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

Preview Lab → · Contrast checker → · Palette generator →

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