#281D83#281D83

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

Color values

HEX#281D83
RGBrgb(40, 29, 131)
HSLhsl(246, 64%, 31%)
HSVhsv(246, 78%, 51%)
CMYKcmyk(69.5%, 77.9%, 0%, 48.6%)
CIE-LABlab(19.92, 37.52, -55.00)
CIE-LCHlch(19.92, 66.58, 304.30°)
OKLaboklab(32.6% 0.021 -0.1589)
OKLCHoklch(32.6% 0.16 277.5)
XYZxyz(5.4098, 2.9681, 21.7561)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D83 #78831D
analogous
#1D4583 #281D83 #5B1D83
triadic
#281D83 #83281D #1D8328
tetradic
#281D83 #831D45 #78831D #1D835B
square
#281D83 #831D45 #78831D #1D835B
split-complementary
#281D83 #835B1D #45831D
monochromatic
#09071F #191251 #281D83 #3728B5 #5445D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##281D83#FFFFFF#000000##FFFFFF
##281D831.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)
#003486
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281d83;
/* rgb */ color: rgb(40, 29, 131);
/* oklch */ color: oklch(32.6% 0.160 277.5);
Tailwind
colors: {
  custom: {
    50: '#705ba8',
    500: '#281d83',
    950: '#000000',
  },
}
SCSS
$custom: #281d83;
$custom-light: #705ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#281d83",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 246.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.326,
    "c": 0.16029,
    "h": 277.5
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#281D83
secondary
#AAB646
accent
#E741D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281D83

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

Preview Lab → · Contrast checker → · Palette generator →

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