#281E86#281E86

#281E86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.163 H 276.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#281E86
RGBrgb(40, 30, 134)
HSLhsl(246, 63%, 32%)
HSVhsv(246, 78%, 53%)
CMYKcmyk(70.1%, 77.6%, 0%, 47.5%)
CIE-LABlab(20.44, 37.96, -56.02)
CIE-LCHlch(20.44, 67.67, 304.12°)
OKLaboklab(33.07% 0.0197 -0.1619)
OKLCHoklch(33.07% 0.163 276.9)
XYZxyz(5.6410, 3.1004, 22.8508)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E86 #7C861E
analogous
#1E4886 #281E86 #5C1E86
triadic
#281E86 #86281E #1E8628
tetradic
#281E86 #861E48 #7C861E #1E865C
square
#281E86 #861E48 #7C861E #1E865C
split-complementary
#281E86 #865C1E #48861E
monochromatic
#0A0822 #191354 #281E86 #3729B8 #5648D6

Accessibility & contrast

On white

12.96
#281E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#281E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E86
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E86#FFFFFF#000000##FFFFFF
##281E861.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281e86;
/* rgb */ color: rgb(40, 30, 134);
/* oklch */ color: oklch(33.1% 0.163 276.9);
Tailwind
colors: {
  custom: {
    50: '#715caa',
    500: '#281e86',
    950: '#000000',
  },
}
SCSS
$custom: #281e86;
$custom-light: #715caa;
$custom-dark: #000000;
JSON
{
  "hex": "#281e86",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 245.769,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33068,
    "c": 0.16309,
    "h": 276.9
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#281E86
secondary
#ADB847
accent
#E641D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281E86

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

Preview Lab → · Contrast checker → · Palette generator →

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