#284477#284477

#284477 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.093 H 261.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#284477
RGBrgb(40, 68, 119)
HSLhsl(219, 50%, 31%)
HSVhsv(219, 66%, 47%)
CMYKcmyk(66.4%, 42.9%, 0%, 53.3%)
CIE-LABlab(29.20, 7.20, -32.36)
CIE-LCHlch(29.20, 33.15, 282.55°)
OKLaboklab(39.19% -0.0139 -0.0922)
OKLCHoklch(39.19% 0.093 261.4)
XYZxyz(6.2708, 5.9167, 18.2608)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284477 #775B28
analogous
#286B77 #284477 #332877
triadic
#284477 #772844 #447728
tetradic
#284477 #77286B #775B28 #287733
square
#284477 #77286B #775B28 #287733
split-complementary
#284477 #773328 #6B7728
monochromatic
#09101B #192A49 #284477 #375EA5 #547CC5

Accessibility & contrast

On white

9.62
#284477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#284477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284477
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284477#FFFFFF#000000##FFFFFF
##2844771.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#214176
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284477;
/* rgb */ color: rgb(40, 68, 119);
/* oklch */ color: oklch(39.2% 0.093 261.4);
Tailwind
colors: {
  custom: {
    50: '#6b779e',
    500: '#284477',
    950: '#000000',
  },
}
SCSS
$custom: #284477;
$custom-light: #6b779e;
$custom-dark: #000000;
JSON
{
  "hex": "#284477",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 119
  },
  "hsl": {
    "h": 218.734,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39193,
    "c": 0.0932,
    "h": 261.4
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#284477
secondary
#A98A52
accent
#A84FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284477

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

Preview Lab → · Contrast checker → · Palette generator →

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