#284A82#284A82

#284A82 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.102 H 259.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#284A82
RGBrgb(40, 74, 130)
HSLhsl(217, 53%, 33%)
HSVhsv(217, 69%, 51%)
CMYKcmyk(69.2%, 43.1%, 0%, 49%)
CIE-LABlab(31.71, 7.37, -35.22)
CIE-LCHlch(31.71, 35.98, 281.82°)
OKLaboklab(41.36% -0.018 -0.1004)
OKLCHoklch(41.36% 0.102 259.9)
XYZxyz(7.3517, 6.9597, 22.0707)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A82 #826028
analogous
#287782 #284A82 #332882
triadic
#284A82 #82284A #4A8228
tetradic
#284A82 #822877 #826028 #288233
square
#284A82 #822877 #826028 #288233
split-complementary
#284A82 #823328 #778228
monochromatic
#0B1524 #1A2F53 #284A82 #3665B1 #5984CC

Accessibility & contrast

On white

8.78
#284A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#284A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A82
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A82#FFFFFF#000000##FFFFFF
##284A821.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#224781
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284a82;
/* rgb */ color: rgb(40, 74, 130);
/* oklch */ color: oklch(41.4% 0.102 259.9);
Tailwind
colors: {
  custom: {
    50: '#6d7ca7',
    500: '#284a82',
    950: '#000000',
  },
}
SCSS
$custom: #284a82;
$custom-light: #6d7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#284a82",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 217.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.10205,
    "h": 259.9
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#284A82
secondary
#B18E55
accent
#A64BDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284A82

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

Preview Lab → · Contrast checker → · Palette generator →

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