#281E77#281E77

#281E77 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.144 H 279.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#281E77
RGBrgb(40, 30, 119)
HSLhsl(247, 60%, 29%)
HSVhsv(247, 75%, 47%)
CMYKcmyk(66.4%, 74.8%, 0%, 53.3%)
CIE-LABlab(18.85, 32.90, -49.12)
CIE-LCHlch(18.85, 59.12, 303.81°)
OKLaboklab(31.46% 0.0231 -0.1418)
OKLCHoklch(31.46% 0.144 279.3)
XYZxyz(4.6681, 2.7112, 17.7265)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E77 #6D771E
analogous
#1E4077 #281E77 #551E77
triadic
#281E77 #77281E #1E7728
tetradic
#281E77 #771E40 #6D771E #1E7755
square
#281E77 #771E40 #6D771E #1E7755
split-complementary
#281E77 #77551E #40771E
monochromatic
#080618 #181246 #281E77 #382AA8 #5040CF

Accessibility & contrast

On white

13.62
#281E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#281E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E77
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E77#FFFFFF#000000##FFFFFF
##281E771.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #281e77;
/* rgb */ color: rgb(40, 30, 119);
/* oklch */ color: oklch(31.5% 0.144 279.3);
Tailwind
colors: {
  custom: {
    50: '#6d5b9f',
    500: '#281e77',
    950: '#000000',
  },
}
SCSS
$custom: #281e77;
$custom-light: #6d5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#281e77",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 246.742,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31461,
    "c": 0.14363,
    "h": 279.3
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#281E77
secondary
#9FAB46
accent
#E345D1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #281E77

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

Preview Lab → · Contrast checker → · Palette generator →

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