#282977#282977

#282977 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.130 H 276.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#282977
RGBrgb(40, 41, 119)
HSLhsl(239, 50%, 31%)
HSVhsv(239, 66%, 47%)
CMYKcmyk(66.4%, 65.5%, 0%, 53.3%)
CIE-LABlab(21.46, 25.83, -44.84)
CIE-LCHlch(21.46, 51.75, 299.94°)
OKLaboklab(33.35% 0.014 -0.1292)
OKLCHoklch(33.35% 0.13 276.2)
XYZxyz(4.9967, 3.3685, 17.8361)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282977 #777628
analogous
#285077 #282977 #4E2877
triadic
#282977 #772829 #297728
tetradic
#282977 #772850 #777628 #28774E
square
#282977 #772850 #777628 #28774E
split-complementary
#282977 #774E28 #507728
monochromatic
#09091B #191949 #282977 #3739A5 #5455C5

Accessibility & contrast

On white

12.55
#282977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282977
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282977#FFFFFF#000000##FFFFFF
##2829771.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282977;
/* rgb */ color: rgb(40, 41, 119);
/* oklch */ color: oklch(33.4% 0.130 276.2);
Tailwind
colors: {
  custom: {
    50: '#6c639f',
    500: '#282977',
    950: '#000000',
  },
}
SCSS
$custom: #282977;
$custom-light: #6c639f;
$custom-dark: #000000;
JSON
{
  "hex": "#282977",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 239.241,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33351,
    "c": 0.12996,
    "h": 276.2
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#282977
secondary
#A9A852
accent
#D74FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #282977

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

Preview Lab → · Contrast checker → · Palette generator →

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