#281976#281976

#281976 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.148 H 280.5°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#281976
RGBrgb(40, 25, 118)
HSLhsl(250, 65%, 28%)
HSVhsv(250, 79%, 46%)
CMYKcmyk(66.1%, 78.8%, 0%, 53.7%)
CIE-LABlab(17.71, 35.47, -50.36)
CIE-LCHlch(17.71, 61.60, 305.16°)
OKLaboklab(30.62% 0.0269 -0.1453)
OKLCHoklch(30.62% 0.148 280.5)
XYZxyz(4.4917, 2.4540, 17.3730)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281976 #677619
analogous
#193976 #281976 #561976
triadic
#281976 #762819 #197628
tetradic
#281976 #761939 #677619 #197656
square
#281976 #761939 #677619 #197656
split-complementary
#281976 #765619 #397619
monochromatic
#090519 #170E43 #281976 #3924A8 #4F35D4

Accessibility & contrast

On white

14.09
#281976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#281976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281976
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281976#FFFFFF#000000##FFFFFF
##2819761.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281976;
/* rgb */ color: rgb(40, 25, 118);
/* oklch */ color: oklch(30.6% 0.148 280.5);
Tailwind
colors: {
  custom: {
    50: '#6e589f',
    500: '#281976',
    950: '#000000',
  },
}
SCSS
$custom: #281976;
$custom-light: #6e589f;
$custom-dark: #000000;
JSON
{
  "hex": "#281976",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 249.677,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30624,
    "c": 0.14779,
    "h": 280.5
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #281976

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

Preview Lab → · Contrast checker → · Palette generator →

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