#281E84#281E84

#281E84 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.161 H 277.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#281E84
RGBrgb(40, 30, 132)
HSLhsl(246, 63%, 32%)
HSVhsv(246, 77%, 52%)
CMYKcmyk(69.7%, 77.3%, 0%, 48.2%)
CIE-LABlab(20.22, 37.29, -55.12)
CIE-LCHlch(20.22, 66.55, 304.08°)
OKLaboklab(32.85% 0.0202 -0.1593)
OKLCHoklch(32.85% 0.161 277.2)
XYZxyz(5.5028, 3.0451, 22.1231)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E84 #7A841E
analogous
#1E4784 #281E84 #5B1E84
triadic
#281E84 #84281E #1E8428
tetradic
#281E84 #841E47 #7A841E #1E845B
square
#281E84 #841E47 #7A841E #1E845B
split-complementary
#281E84 #845B1E #47841E
monochromatic
#0A0720 #191352 #281E84 #3729B6 #5547D5

Accessibility & contrast

On white

13.05
#281E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#281E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E84
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E84#FFFFFF#000000##FFFFFF
##281E841.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281e84;
/* rgb */ color: rgb(40, 30, 132);
/* oklch */ color: oklch(32.9% 0.161 277.2);
Tailwind
colors: {
  custom: {
    50: '#705ca9',
    500: '#281e84',
    950: '#000000',
  },
}
SCSS
$custom: #281e84;
$custom-light: #705ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#281e84",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 245.882,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3285,
    "c": 0.16055,
    "h": 277.2
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#281E84
secondary
#ACB747
accent
#E642D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281E84

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

Preview Lab → · Contrast checker → · Palette generator →

#281E84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva