#281BB1#281BB1

#281BB1 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.217 H 272.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#281BB1
RGBrgb(40, 27, 177)
HSLhsl(245, 74%, 40%)
HSVhsv(245, 85%, 69%)
CMYKcmyk(77.4%, 84.7%, 0%, 30.6%)
CIE-LABlab(24.98, 52.95, -74.88)
CIE-LCHlch(24.98, 91.71, 305.26°)
OKLaboklab(37.69% 0.0096 -0.2166)
OKLCHoklch(37.69% 0.217 272.5)
XYZxyz(9.2002, 4.4083, 41.9525)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281BB1 #A4B11B
analogous
#1B59B1 #281BB1 #731BB1
triadic
#281BB1 #B1281B #1BB128
tetradic
#281BB1 #B11B59 #A4B11B #1BB173
square
#281BB1 #B11B59 #A4B11B #1BB173
split-complementary
#281BB1 #B1731B #59B11B
monochromatic
#100B47 #1C137C #281BB1 #3A2BDF #6B60E7

Accessibility & contrast

On white

11.16
#281BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#281BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281BB1
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281BB1#FFFFFF#000000##FFFFFF
##281BB11.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B5
Deuteranopia (green-blind)
#0034AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #281bb1;
/* rgb */ color: rgb(40, 27, 177);
/* oklch */ color: oklch(37.7% 0.217 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b5dca',
    500: '#281bb1',
    950: '#000000',
  },
}
SCSS
$custom: #281bb1;
$custom-light: #7b5dca;
$custom-dark: #000000;
JSON
{
  "hex": "#281bb1",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 177
  },
  "hsl": {
    "h": 245.2,
    "s": 73.529,
    "l": 40
  },
  "oklch": {
    "l": 0.37687,
    "c": 0.21679,
    "h": 272.5
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#281BB1
secondary
#C1CB5D
accent
#F038E0
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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