#281E85#281E85

#281E85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.162 H 277.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#281E85
RGBrgb(40, 30, 133)
HSLhsl(246, 63%, 32%)
HSVhsv(246, 77%, 52%)
CMYKcmyk(69.9%, 77.4%, 0%, 47.8%)
CIE-LABlab(20.33, 37.63, -55.57)
CIE-LCHlch(20.33, 67.11, 304.10°)
OKLaboklab(32.96% 0.02 -0.1606)
OKLCHoklch(32.96% 0.162 277.1)
XYZxyz(5.5716, 3.0726, 22.4852)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E85 #7B851E
analogous
#1E4885 #281E85 #5C1E85
triadic
#281E85 #85281E #1E8528
tetradic
#281E85 #851E48 #7B851E #1E855C
square
#281E85 #851E48 #7B851E #1E855C
split-complementary
#281E85 #855C1E #48851E
monochromatic
#0A0721 #191353 #281E85 #3729B7 #5648D6

Accessibility & contrast

On white

13.01
#281E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E85
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E85#FFFFFF#000000##FFFFFF
##281E851.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281e85;
/* rgb */ color: rgb(40, 30, 133);
/* oklch */ color: oklch(33.0% 0.162 277.1);
Tailwind
colors: {
  custom: {
    50: '#715caa',
    500: '#281e85',
    950: '#000000',
  },
}
SCSS
$custom: #281e85;
$custom-light: #715caa;
$custom-dark: #000000;
JSON
{
  "hex": "#281e85",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 245.825,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32959,
    "c": 0.16182,
    "h": 277.1
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #281E85

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

Preview Lab → · Contrast checker → · Palette generator →

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