#281BA0#281BA0

#281BA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.197 H 274.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#281BA0
RGBrgb(40, 27, 160)
HSLhsl(246, 71%, 37%)
HSVhsv(246, 83%, 63%)
CMYKcmyk(75%, 83.1%, 0%, 37.3%)
CIE-LABlab(22.90, 47.81, -68.05)
CIE-LCHlch(22.90, 83.17, 305.09°)
OKLaboklab(35.66% 0.0143 -0.1968)
OKLCHoklch(35.66% 0.197 274.1)
XYZxyz(7.6101, 3.7723, 33.5779)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281BA0 #93A01B
analogous
#1B50A0 #281BA0 #6B1BA0
triadic
#281BA0 #A0281B #1BA028
tetradic
#281BA0 #A01B50 #93A01B #1BA06B
square
#281BA0 #A01B50 #93A01B #1BA06B
split-complementary
#281BA0 #A06B1B #50A01B
monochromatic
#0E0937 #1B126C #281BA0 #3524D4 #6153E2

Accessibility & contrast

On white

11.97
#281BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#281BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281BA0
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281BA0#FFFFFF#000000##FFFFFF
##281BA01.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #281ba0;
/* rgb */ color: rgb(40, 27, 160);
/* oklch */ color: oklch(35.7% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#775cbd',
    500: '#281ba0',
    950: '#000000',
  },
}
SCSS
$custom: #281ba0;
$custom-light: #775cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#281ba0",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 245.865,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35663,
    "c": 0.1973,
    "h": 274.1
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #281BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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