#281C83#281C83

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

Color values

HEX#281C83
RGBrgb(40, 28, 131)
HSLhsl(247, 65%, 31%)
HSVhsv(247, 79%, 51%)
CMYKcmyk(69.5%, 78.6%, 0%, 48.6%)
CIE-LABlab(19.72, 38.08, -55.32)
CIE-LCHlch(19.72, 67.16, 304.54°)
OKLaboklab(32.46% 0.0216 -0.1598)
OKLCHoklch(32.46% 0.161 277.7)
XYZxyz(5.3857, 2.9198, 21.7481)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C83 #77831C
analogous
#1C4383 #281C83 #5B1C83
triadic
#281C83 #83281C #1C8328
tetradic
#281C83 #831C43 #77831C #1C835B
square
#281C83 #831C43 #77831C #1C835B
split-complementary
#281C83 #835B1C #43831C
monochromatic
#09061E #191151 #281C83 #3727B5 #5443D7

Accessibility & contrast

On white

13.26
#281C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281C83
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C83#FFFFFF#000000##FFFFFF
##281C831.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281c83;
/* rgb */ color: rgb(40, 28, 131);
/* oklch */ color: oklch(32.5% 0.161 277.7);
Tailwind
colors: {
  custom: {
    50: '#705ba8',
    500: '#281c83',
    950: '#000000',
  },
}
SCSS
$custom: #281c83;
$custom-light: #705ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#281c83",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 246.99,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32463,
    "c": 0.16129,
    "h": 277.7
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#281C83
secondary
#A9B645
accent
#E840D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281C83

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

Preview Lab → · Contrast checker → · Palette generator →

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