#284979#284979

#284979 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.090 H 257.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#284979
RGBrgb(40, 73, 121)
HSLhsl(216, 50%, 32%)
HSVhsv(216, 67%, 47%)
CMYKcmyk(66.9%, 39.7%, 0%, 52.5%)
CIE-LABlab(30.87, 4.60, -30.96)
CIE-LCHlch(30.87, 31.30, 278.45°)
OKLaboklab(40.53% -0.019 -0.088)
OKLCHoklch(40.53% 0.09 257.8)
XYZxyz(6.7076, 6.5960, 19.0051)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284979 #795828
analogous
#287279 #284979 #302879
triadic
#284979 #792849 #497928
tetradic
#284979 #792872 #795828 #287930
square
#284979 #792872 #795828 #287930
split-complementary
#284979 #793028 #727928
monochromatic
#0A121D #192D4B #284979 #3765A7 #5583C7

Accessibility & contrast

On white

9.05
#284979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#284979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284979
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284979#FFFFFF#000000##FFFFFF
##2849791.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#284578
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284979;
/* rgb */ color: rgb(40, 73, 121);
/* oklch */ color: oklch(40.5% 0.090 257.8);
Tailwind
colors: {
  custom: {
    50: '#6b7ba0',
    500: '#284979',
    950: '#000000',
  },
}
SCSS
$custom: #284979;
$custom-light: #6b7ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#284979",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 215.556,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40525,
    "c": 0.09004,
    "h": 257.8
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#284979
secondary
#AB8752
accent
#A14EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284979

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

Preview Lab → · Contrast checker → · Palette generator →

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