#281977#281977

#281977 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.149 H 280.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#281977
RGBrgb(40, 25, 119)
HSLhsl(250, 65%, 28%)
HSVhsv(250, 79%, 47%)
CMYKcmyk(66.4%, 79%, 0%, 53.3%)
CIE-LABlab(17.82, 35.80, -50.82)
CIE-LCHlch(17.82, 62.16, 305.16°)
OKLaboklab(30.73% 0.0266 -0.1467)
OKLCHoklch(30.73% 0.149 280.3)
XYZxyz(4.5514, 2.4779, 17.6876)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281977 #687719
analogous
#193977 #281977 #571977
triadic
#281977 #772819 #197728
tetradic
#281977 #771939 #687719 #197757
square
#281977 #771939 #687719 #197757
split-complementary
#281977 #775719 #397719
monochromatic
#080519 #170E44 #281977 #3924AA #4F36D5

Accessibility & contrast

On white

14.04
#281977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#281977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281977
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281977#FFFFFF#000000##FFFFFF
##2819771.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281977;
/* rgb */ color: rgb(40, 25, 119);
/* oklch */ color: oklch(30.7% 0.149 280.3);
Tailwind
colors: {
  custom: {
    50: '#6e589f',
    500: '#281977',
    950: '#000000',
  },
}
SCSS
$custom: #281977;
$custom-light: #6e589f;
$custom-dark: #000000;
JSON
{
  "hex": "#281977",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 249.574,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.14907,
    "h": 280.3
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#281977
secondary
#9BAC40
accent
#E840CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281977

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

Preview Lab → · Contrast checker → · Palette generator →

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