#281BA6#281BA6

#281BA6 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.204 H 273.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#281BA6
RGBrgb(40, 27, 166)
HSLhsl(246, 72%, 38%)
HSVhsv(246, 84%, 65%)
CMYKcmyk(75.9%, 83.7%, 0%, 34.9%)
CIE-LABlab(23.63, 49.65, -70.49)
CIE-LCHlch(23.63, 86.22, 305.16°)
OKLaboklab(36.37% 0.0126 -0.2039)
OKLCHoklch(36.37% 0.204 273.5)
XYZxyz(8.1476, 3.9873, 36.4092)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281BA6 #99A61B
analogous
#1B53A6 #281BA6 #6E1BA6
triadic
#281BA6 #A6281B #1BA628
tetradic
#281BA6 #A61B53 #99A61B #1BA66E
square
#281BA6 #A61B53 #99A61B #1BA66E
split-complementary
#281BA6 #A66E1B #53A61B
monochromatic
#0F0A3D #1B1271 #281BA6 #3524DB #6558E4

Accessibility & contrast

On white

11.68
#281BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#281BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281BA6
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281BA6#FFFFFF#000000##FFFFFF
##281BA61.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EAA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #281ba6;
/* rgb */ color: rgb(40, 27, 166);
/* oklch */ color: oklch(36.4% 0.204 273.5);
Tailwind
colors: {
  custom: {
    50: '#795dc2',
    500: '#281ba6',
    950: '#000000',
  },
}
SCSS
$custom: #281ba6;
$custom-light: #795dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#281ba6",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 245.612,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36373,
    "c": 0.20426,
    "h": 273.5
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#281BA6
secondary
#BDC756
accent
#EF39DE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #281BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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