#281A83#281A83

#281A83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.163 H 278.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#281A83
RGBrgb(40, 26, 131)
HSLhsl(248, 67%, 31%)
HSVhsv(248, 80%, 51%)
CMYKcmyk(69.5%, 80.2%, 0%, 48.6%)
CIE-LABlab(19.34, 39.16, -55.95)
CIE-LCHlch(19.34, 68.29, 304.99°)
OKLaboklab(32.2% 0.0227 -0.1616)
OKLCHoklch(32.2% 0.163 278)
XYZxyz(5.3399, 2.8281, 21.7328)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A83 #75831A
analogous
#1A4083 #281A83 #5C1A83
triadic
#281A83 #83281A #1A8328
tetradic
#281A83 #831A40 #75831A #1A835C
square
#281A83 #831A40 #75831A #1A835C
split-complementary
#281A83 #835C1A #40831A
monochromatic
#09061D #181050 #281A83 #3824B6 #533FD9

Accessibility & contrast

On white

13.41
#281A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#281A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A83
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A83#FFFFFF#000000##FFFFFF
##281A831.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281a83;
/* rgb */ color: rgb(40, 26, 131);
/* oklch */ color: oklch(32.2% 0.163 278.0);
Tailwind
colors: {
  custom: {
    50: '#7059a8',
    500: '#281a83',
    950: '#000000',
  },
}
SCSS
$custom: #281a83;
$custom-light: #7059a8;
$custom-dark: #000000;
JSON
{
  "hex": "#281a83",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 248,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.16322,
    "h": 278
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#281A83
secondary
#A7B742
accent
#EA3ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281A83

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

Preview Lab → · Contrast checker → · Palette generator →

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