#284C85#284C85

#284C85 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.104 H 259.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#284C85
RGBrgb(40, 76, 133)
HSLhsl(217, 54%, 34%)
HSVhsv(217, 70%, 52%)
CMYKcmyk(69.9%, 42.9%, 0%, 47.8%)
CIE-LABlab(32.51, 7.18, -35.81)
CIE-LCHlch(32.51, 36.52, 281.34°)
OKLaboklab(42.03% -0.0194 -0.1021)
OKLCHoklch(42.03% 0.104 259.2)
XYZxyz(7.6916, 7.3127, 23.1919)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C85 #856128
analogous
#287B85 #284C85 #332885
triadic
#284C85 #85284C #4C8528
tetradic
#284C85 #85287B #856128 #288533
square
#284C85 #85287B #856128 #288533
split-complementary
#284C85 #853328 #7B8528
monochromatic
#0C1627 #1A3156 #284C85 #3667B4 #5A87CD

Accessibility & contrast

On white

8.53
#284C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#284C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C85
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C85#FFFFFF#000000##FFFFFF
##284C851.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315187
Deuteranopia (green-blind)
#234884
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284c85;
/* rgb */ color: rgb(40, 76, 133);
/* oklch */ color: oklch(42.0% 0.104 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7da9',
    500: '#284c85',
    950: '#000000',
  },
}
SCSS
$custom: #284c85;
$custom-light: #6d7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#284c85",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 216.774,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.10398,
    "h": 259.2
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#284C85
secondary
#B38F56
accent
#A44BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284C85

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

Preview Lab → · Contrast checker → · Palette generator →

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