#284785#284785

#284785 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.110 H 262.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#284785
RGBrgb(40, 71, 133)
HSLhsl(220, 54%, 34%)
HSVhsv(220, 70%, 52%)
CMYKcmyk(69.9%, 46.6%, 0%, 47.8%)
CIE-LABlab(31.00, 10.55, -38.22)
CIE-LCHlch(31.00, 39.65, 285.43°)
OKLaboklab(40.86% -0.0143 -0.1093)
OKLCHoklch(40.86% 0.11 262.6)
XYZxyz(7.3605, 6.6503, 23.0815)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284785 #856628
analogous
#287685 #284785 #382885
triadic
#284785 #852847 #478528
tetradic
#284785 #852876 #856628 #288538
square
#284785 #852876 #856628 #288538
split-complementary
#284785 #853828 #768528
monochromatic
#0C1527 #1A2E56 #284785 #3660B4 #5A80CD

Accessibility & contrast

On white

9.01
#284785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#284785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284785
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284785#FFFFFF#000000##FFFFFF
##2847851.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E87
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284785;
/* rgb */ color: rgb(40, 71, 133);
/* oklch */ color: oklch(40.9% 0.110 262.6);
Tailwind
colors: {
  custom: {
    50: '#6d79a9',
    500: '#284785',
    950: '#000000',
  },
}
SCSS
$custom: #284785;
$custom-light: #6d79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#284785",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 220,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.11026,
    "h": 262.6
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#284785
secondary
#B39456
accent
#AC4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284785

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

Preview Lab → · Contrast checker → · Palette generator →

#284785 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva