#281A85#281A85

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

Color values

HEX#281A85
RGBrgb(40, 26, 133)
HSLhsl(248, 67%, 31%)
HSVhsv(248, 80%, 52%)
CMYKcmyk(69.9%, 80.5%, 0%, 47.8%)
CIE-LABlab(19.57, 39.81, -56.84)
CIE-LCHlch(19.57, 69.39, 305.01°)
OKLaboklab(32.42% 0.0222 -0.1642)
OKLCHoklch(32.42% 0.166 277.7)
XYZxyz(5.4767, 2.8829, 22.4536)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A85 #77851A
analogous
#1A4185 #281A85 #5D1A85
triadic
#281A85 #85281A #1A8528
tetradic
#281A85 #851A41 #77851A #1A855D
square
#281A85 #851A41 #77851A #1A855D
split-complementary
#281A85 #855D1A #41851A
monochromatic
#09061F #191052 #281A85 #3724B8 #5440DA

Accessibility & contrast

On white

13.32
#281A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#281A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A85
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A85#FFFFFF#000000##FFFFFF
##281A851.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281a85;
/* rgb */ color: rgb(40, 26, 133);
/* oklch */ color: oklch(32.4% 0.166 277.7);
Tailwind
colors: {
  custom: {
    50: '#715aaa',
    500: '#281a85',
    950: '#000000',
  },
}
SCSS
$custom: #281a85;
$custom-light: #715aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#281a85",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 247.85,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32423,
    "c": 0.1657,
    "h": 277.7
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#281A85
secondary
#A9B842
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281A85

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

Preview Lab → · Contrast checker → · Palette generator →

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