#281E80#281E80

#281E80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.155 H 277.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#281E80
RGBrgb(40, 30, 128)
HSLhsl(246, 62%, 31%)
HSVhsv(246, 77%, 50%)
CMYKcmyk(68.8%, 76.6%, 0%, 49.8%)
CIE-LABlab(19.79, 35.95, -53.31)
CIE-LCHlch(19.79, 64.30, 304.00°)
OKLaboklab(32.42% 0.0211 -0.154)
OKLCHoklch(32.42% 0.155 277.8)
XYZxyz(5.2344, 2.9377, 20.7091)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E80 #76801E
analogous
#1E4580 #281E80 #591E80
triadic
#281E80 #80281E #1E8028
tetradic
#281E80 #801E45 #76801E #1E8059
square
#281E80 #801E45 #76801E #1E8059
split-complementary
#281E80 #80591E #45801E
monochromatic
#09071D #19124E #281E80 #372AB2 #5445D3

Accessibility & contrast

On white

13.23
#281E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E80
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E80#FFFFFF#000000##FFFFFF
##281E801.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281e80;
/* rgb */ color: rgb(40, 30, 128);
/* oklch */ color: oklch(32.4% 0.155 277.8);
Tailwind
colors: {
  custom: {
    50: '#6f5ca6',
    500: '#281e80',
    950: '#000000',
  },
}
SCSS
$custom: #281e80;
$custom-light: #6f5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#281e80",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 246.122,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32416,
    "c": 0.15541,
    "h": 277.8
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#281E80
secondary
#A8B347
accent
#E543D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #281E80

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

Preview Lab → · Contrast checker → · Palette generator →

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