#281BA1#281BA1

#281BA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.198 H 274.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#281BA1
RGBrgb(40, 27, 161)
HSLhsl(246, 71%, 37%)
HSVhsv(246, 83%, 63%)
CMYKcmyk(75.2%, 83.2%, 0%, 36.9%)
CIE-LABlab(23.02, 48.12, -68.46)
CIE-LCHlch(23.02, 83.68, 305.10°)
OKLaboklab(35.78% 0.014 -0.198)
OKLCHoklch(35.78% 0.198 274)
XYZxyz(7.6979, 3.8074, 34.0405)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281BA1 #94A11B
analogous
#1B51A1 #281BA1 #6B1BA1
triadic
#281BA1 #A1281B #1BA128
tetradic
#281BA1 #A11B51 #94A11B #1BA16B
square
#281BA1 #A11B51 #94A11B #1BA16B
split-complementary
#281BA1 #A16B1B #51A11B
monochromatic
#0E0938 #1B126D #281BA1 #3524D5 #6254E2

Accessibility & contrast

On white

11.92
#281BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#281BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281BA1
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281BA1#FFFFFF#000000##FFFFFF
##281BA11.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #281ba1;
/* rgb */ color: rgb(40, 27, 161);
/* oklch */ color: oklch(35.8% 0.198 274.0);
Tailwind
colors: {
  custom: {
    50: '#775cbe',
    500: '#281ba1',
    950: '#000000',
  },
}
SCSS
$custom: #281ba1;
$custom-light: #775cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#281ba1",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 245.821,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35781,
    "c": 0.19846,
    "h": 274
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#281BA1
secondary
#BAC552
accent
#EE3ADD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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