#281E81#281E81

#281E81 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.157 H 277.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#281E81
RGBrgb(40, 30, 129)
HSLhsl(246, 62%, 31%)
HSVhsv(246, 77%, 51%)
CMYKcmyk(69%, 76.7%, 0%, 49.4%)
CIE-LABlab(19.90, 36.29, -53.76)
CIE-LCHlch(19.90, 64.86, 304.02°)
OKLaboklab(32.52% 0.0209 -0.1553)
OKLCHoklch(32.52% 0.157 277.7)
XYZxyz(5.3005, 2.9642, 21.0574)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E81 #77811E
analogous
#1E4581 #281E81 #591E81
triadic
#281E81 #81281E #1E8128
tetradic
#281E81 #811E45 #77811E #1E8159
square
#281E81 #811E45 #77811E #1E8159
split-complementary
#281E81 #81591E #45811E
monochromatic
#09071E #19124F #281E81 #372AB3 #5446D4

Accessibility & contrast

On white

13.18
#281E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#281E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E81
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E81#FFFFFF#000000##FFFFFF
##281E811.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281e81;
/* rgb */ color: rgb(40, 30, 129);
/* oklch */ color: oklch(32.5% 0.157 277.7);
Tailwind
colors: {
  custom: {
    50: '#705ca7',
    500: '#281e81',
    950: '#000000',
  },
}
SCSS
$custom: #281e81;
$custom-light: #705ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#281e81",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 246.061,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32524,
    "c": 0.1567,
    "h": 277.7
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#281E81
secondary
#A9B447
accent
#E542D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #281E81

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

Preview Lab → · Contrast checker → · Palette generator →

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