#281E82#281E82

#281E82 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.158 H 277.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#281E82
RGBrgb(40, 30, 130)
HSLhsl(246, 63%, 31%)
HSVhsv(246, 77%, 51%)
CMYKcmyk(69.2%, 76.9%, 0%, 49%)
CIE-LABlab(20.01, 36.62, -54.22)
CIE-LCHlch(20.01, 65.43, 304.04°)
OKLaboklab(32.63% 0.0207 -0.1566)
OKLCHoklch(32.63% 0.158 277.5)
XYZxyz(5.3673, 2.9909, 21.4092)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E82 #78821E
analogous
#1E4682 #281E82 #5A1E82
triadic
#281E82 #82281E #1E8228
tetradic
#281E82 #821E46 #78821E #1E825A
square
#281E82 #821E46 #78821E #1E825A
split-complementary
#281E82 #825A1E #46821E
monochromatic
#09071F #191350 #281E82 #3729B4 #5446D4

Accessibility & contrast

On white

13.14
#281E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#281E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E82
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E82#FFFFFF#000000##FFFFFF
##281E821.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281e82;
/* rgb */ color: rgb(40, 30, 130);
/* oklch */ color: oklch(32.6% 0.158 277.5);
Tailwind
colors: {
  custom: {
    50: '#705ca7',
    500: '#281e82',
    950: '#000000',
  },
}
SCSS
$custom: #281e82;
$custom-light: #705ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#281e82",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 246,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32633,
    "c": 0.15799,
    "h": 277.5
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#281E82
secondary
#AAB547
accent
#E642D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #281E82

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

Preview Lab → · Contrast checker → · Palette generator →

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