#281B75#281B75

#281B75 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.144 H 280.3°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#281B75
RGBrgb(40, 27, 117)
HSLhsl(249, 63%, 28%)
HSVhsv(249, 77%, 46%)
CMYKcmyk(65.8%, 76.9%, 0%, 54.1%)
CIE-LABlab(18.00, 34.00, -49.23)
CIE-LCHlch(18.00, 59.83, 304.63°)
OKLaboklab(30.8% 0.0258 -0.142)
OKLCHoklch(30.8% 0.144 280.3)
XYZxyz(4.4769, 2.5190, 17.0765)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B75 #68751B
analogous
#1B3B75 #281B75 #551B75
triadic
#281B75 #75281B #1B7528
tetradic
#281B75 #751B3B #68751B #1B7555
square
#281B75 #751B3B #68751B #1B7555
split-complementary
#281B75 #75551B #3B751B
monochromatic
#090619 #171043 #281B75 #3926A7 #4F39D1

Accessibility & contrast

On white

13.96
#281B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#281B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281B75
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B75#FFFFFF#000000##FFFFFF
##281B751.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281b75;
/* rgb */ color: rgb(40, 27, 117);
/* oklch */ color: oklch(30.8% 0.144 280.3);
Tailwind
colors: {
  custom: {
    50: '#6d599e',
    500: '#281b75',
    950: '#000000',
  },
}
SCSS
$custom: #281b75;
$custom-light: #6d599e;
$custom-dark: #000000;
JSON
{
  "hex": "#281b75",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 248.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.308,
    "c": 0.14436,
    "h": 280.3
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#281B75
secondary
#9BA942
accent
#E642CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #281B75

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

Preview Lab → · Contrast checker → · Palette generator →

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